summaryrefslogtreecommitdiffstats
path: root/compile.sh
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2016-01-29 17:57:21 +0100
committerLogicParrot <LogicParrot@users.noreply.github.com>2016-01-29 17:57:21 +0100
commit08b4363330ee8700aa58aca25295e09c9d4a9faf (patch)
tree63aa809f08637a881de0b719ca80f3374231314a /compile.sh
parentMerge pull request #2909 from mathias-github/readme (diff)
downloadcuberite-08b4363330ee8700aa58aca25295e09c9d4a9faf.tar
cuberite-08b4363330ee8700aa58aca25295e09c9d4a9faf.tar.gz
cuberite-08b4363330ee8700aa58aca25295e09c9d4a9faf.tar.bz2
cuberite-08b4363330ee8700aa58aca25295e09c9d4a9faf.tar.lz
cuberite-08b4363330ee8700aa58aca25295e09c9d4a9faf.tar.xz
cuberite-08b4363330ee8700aa58aca25295e09c9d4a9faf.tar.zst
cuberite-08b4363330ee8700aa58aca25295e09c9d4a9faf.zip
Diffstat (limited to 'compile.sh')
-rwxr-xr-xcompile.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/compile.sh b/compile.sh
index 7305aabc8..84ed478a2 100755
--- a/compile.sh
+++ b/compile.sh
@@ -79,7 +79,7 @@ checkPackages ()
echo "$PROGRAMS" | while read line; do
EXE_NAME=`echo "$line" | cut -f 1`
PACKAGE_NAME=`echo "$line" | cut -f 2`
- $EXE_NAME --help > /dev/null 2> /dev/null || echo -n " $PACKAGE_NAME"
+ command -v $EXE_NAME > /dev/null 2> /dev/null || echo -n " $PACKAGE_NAME"
done
}
MISSING_PACKAGES="$MISSING_PACKAGES`checkPackages`"