Skip to content

Commit ecf1791

Browse files
committed
fix awk command
1 parent 9cfe9d1 commit ecf1791

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)