Skip to content

Commit b1aba6f

Browse files
committed
fix awk command
1 parent db73c3b commit b1aba6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ then
2828
container --version
2929
current_version=$(container --version | awk '{print $4}')
3030
echo $current_version
31-
target_version=$(echo $download_url | awk -F'/' '{print $6}' | awk -F'-' '{print $2}')
31+
target_version=$(echo $download_url | awk -F'/' '{print $8}')
3232

3333

3434
if [ "$current_version" != "$target_version" ]; then

0 commit comments

Comments
 (0)