Fix try.sh to be more portable.
This commit is contained in:
1 parent
26a181d401
commit
a7f11c1f3e
1 file changed
+2
-1
+2
-1
@@ -9,7 +9,8 @@ if [[ -z "$CC" ]]; then
|
|||||||
CC="cc"
|
CC="cc"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
make CC="$CC" all >/dev/null || exit 1
|
MAKE=$(which gmake)
|
||||||
|
${MAKE:=make} CC="$CC" all >/dev/null || exit 1
|
||||||
|
|
||||||
read -r -n 1 -p "Press any key to form foo: "
|
read -r -n 1 -p "Press any key to form foo: "
|
||||||
echo 1>&2
|
echo 1>&2
|
||||||
|
|||||||
Reference in new issue
Block a user