Skip to content

Commit 9ebb235

Browse files
committed
CircleCI updates
1 parent b04748a commit 9ebb235

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javaUpdatesOne.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ if [[ -n $latestJavaLTS ]]; then
6060
mv "$f""01" "$f"
6161
sed -E 's/command:\s*wget\s*https:\/\/.* &&/command: wget '"$targetImageUrl"' \&\&/g' "$f" > "$f""01"
6262
mv "$f""01" "$f"
63-
fileName=last_segment=$(echo "$targetImageUrl" | awk -F'/' '{print $NF}')
63+
fileName=$(echo "$targetImageUrl" | awk -F'/' '{print $NF}')
6464
sed -E 's/tar (-)?xvf .* &&/tar -xvf '"$fileName"' \&\&/g' "$f" > "$f""01"
6565
mv "$f""01" "$f"
6666
sed -E 's/jdk[0-9]+/jdk'"$latestJavaLTS"'/g' "$f" > "$f""01"

0 commit comments

Comments
 (0)