Skip to content

Commit

Permalink
Comment
Browse files Browse the repository at this point in the history
Signed-off-by: Stewart X Addison <[email protected]>
  • Loading branch information
sxa committed Dec 3, 2024
1 parent 47326da commit 290bcb3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sbin/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2094,6 +2094,7 @@ getTargetFileNameForComponent() {
echo "${target_file_name}" | sed "s/-jdk/-${component}/"
else
# if no pattern is found, append the component name right before the extension.
# Stopped using -r here and split this in 2 as -r not a standard sed argument
echo "${target_file_name}" | sed \
-e "s/\(.*\)\(\.tar\.gz\)/\1-$component\2/" \
-e "s/\(.*\)\(\.zip\)/\1-${component}\2/"
Expand Down

0 comments on commit 290bcb3

Please sign in to comment.