Fix try.sh scripts; use command(1) instead of which.
This commit is contained in:
1 parent
4b08755e4a
commit
40f2141aef
25 files changed
+25
-25
No files matched your search
+1
-1
@@ -9,7 +9,7 @@ if [[ -z "$CC" ]]; then
|
||||
CC="cc"
|
||||
fi
|
||||
|
||||
MAKE=$(which gmake)
|
||||
MAKE=$(command -v gmake)
|
||||
${MAKE:=make} CC="$CC" all >/dev/null || exit 1
|
||||
|
||||
read -r -n 1 -p "Press any key to form foo: "
|
||||
|
||||
Reference in new issue
Block a user