fix shellcheck
This commit is contained in:
1 parent
910b438686
commit
47808ffa17
2 files changed
+3
-2
No files matched your search
+2
-1
@@ -567,7 +567,8 @@ command=$1; shift
|
||||
case $command in
|
||||
-h|--help|help) usage 0 ;;
|
||||
-V|--version|version)
|
||||
if [[ $TERRACTL_VERSION == "@"VERSION"@" ]]; then echo "terractl (development copy)"
|
||||
# The build replaces the placeholder with a version number, which never contains '@'
|
||||
if [[ $TERRACTL_VERSION == *@* ]]; then echo "terractl (development copy)"
|
||||
else echo "terractl $TERRACTL_VERSION"; fi
|
||||
exit 0 ;;
|
||||
list) cmd_list; exit ;;
|
||||
|
||||
Reference in new issue
Block a user