diff options
author | LogicParrot <LogicParrot@users.noreply.github.com> | 2016-01-29 18:42:29 +0100 |
---|---|---|
committer | LogicParrot <LogicParrot@users.noreply.github.com> | 2016-01-29 18:42:29 +0100 |
commit | d9e4eaa2a6d9764d7d9f5eee66611397e95cc20d (patch) | |
tree | 63aa809f08637a881de0b719ca80f3374231314a | |
parent | Merge pull request #2909 from mathias-github/readme (diff) | |
parent | compile.sh - posix-compatible program existence checking (diff) | |
download | cuberite-d9e4eaa2a6d9764d7d9f5eee66611397e95cc20d.tar cuberite-d9e4eaa2a6d9764d7d9f5eee66611397e95cc20d.tar.gz cuberite-d9e4eaa2a6d9764d7d9f5eee66611397e95cc20d.tar.bz2 cuberite-d9e4eaa2a6d9764d7d9f5eee66611397e95cc20d.tar.lz cuberite-d9e4eaa2a6d9764d7d9f5eee66611397e95cc20d.tar.xz cuberite-d9e4eaa2a6d9764d7d9f5eee66611397e95cc20d.tar.zst cuberite-d9e4eaa2a6d9764d7d9f5eee66611397e95cc20d.zip |
-rwxr-xr-x | compile.sh | 2 |
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`" |