Skip to content

Commit

Permalink
Fix os-shell for distros with numbers & versions
Browse files Browse the repository at this point in the history
Signed-off-by: Beltran Rueda Borrego <beltranrueda@vmware.com>
  • Loading branch information
beltran-rubo committed Sep 5, 2023
1 parent f459900 commit 38efabc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .vib/os-shell/goss/os-shell.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@

command:
check-distro-version:
exec: grep VERSION_ID /etc/os-release | grep "$(echo $APP_VERSION | sed -E 's|^([0-9]+).*$|\1|g')"
exec: grep VERSION_ID /etc/os-release | grep "$(echo "$APP_VERSION" | sed -E 's|^([0-9]+).*$|\1|g')"
exit-status: 0

0 comments on commit 38efabc

Please sign in to comment.