mirror of
https://github.com/italicsjenga/agb.git
synced 2025-02-02 20:46:40 +11:00
Get the booleans correct
This commit is contained in:
parent
8b2bd66b19
commit
2e7c2be11e
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ if [ ! "$(echo "$VERSION" | grep -E "^[0-9]+\.[0-9]+\.[0-9]+$")" ]; then
|
|||
fi
|
||||
|
||||
# Check if no commit option is valid
|
||||
if [ ! "$NO_COMMIT" = "" ] || [ ! "$NO_COMMIT" = "--no-commit" ]; then
|
||||
if [ ! "$NO_COMMIT" = "" ] && [ ! "$NO_COMMIT" = "--no-commit" ]; then
|
||||
echo "Must pass either no last argument or --no-commit"
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue