Use -n "$()" instead of "$()" != ""

This commit is contained in:
Martin Storsjö committed 2020-11-03 14:00:45 +02:00
1 parent fcafcacc58
commit 2af44c5a56
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -62,7 +62,7 @@ fi
[ -z "$CHECKOUT_ONLY" ] || exit 0
MAKE=make
if [ "$(which gmake)" != "" ]; then
if [ -n "$(which gmake)" ]; then
MAKE=gmake
fi