mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-24 00:31:34 +11:00
Booleans are hard
This commit is contained in:
parent
1f04470cf5
commit
955b99be8f
|
@ -33,7 +33,7 @@ function maybe_git() {
|
||||||
}
|
}
|
||||||
|
|
||||||
# Check that no out-standing changes in git
|
# Check that no out-standing changes in git
|
||||||
if [ ! "$NO_COMMIT" = "" ] && [ -n "$(git status --porcelain)" ]; then
|
if [ "$NO_COMMIT" = "" ] && [ -n "$(git status --porcelain)" ]; then
|
||||||
echo "Uncommitted changes, please commit first"
|
echo "Uncommitted changes, please commit first"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue