Merge pull request #165 from SirWumpus/fix_try
Fix all try.sh scripts to be more portable WRT gmake vs make. We will update templates and reference files in a subsequent PR.
This commit is contained in:
25 files changed
+49
-25
No files matched your search
+2
-1
@@ -9,7 +9,8 @@
|
|||||||
|
|
||||||
# make sure the program has been built
|
# make sure the program has been built
|
||||||
#
|
#
|
||||||
make CC="$CC" all >/dev/null || exit 1
|
MAKE=$(command -v gmake)
|
||||||
|
${MAKE:=make} CC="$CC" all >/dev/null || exit 1
|
||||||
|
|
||||||
# clear the screen
|
# clear the screen
|
||||||
#
|
#
|
||||||
|
|||||||
+2
-1
@@ -25,7 +25,8 @@ fi
|
|||||||
#
|
#
|
||||||
read -r -n 1 -p "Press any key to when ready: "
|
read -r -n 1 -p "Press any key to when ready: "
|
||||||
echo 1>&2
|
echo 1>&2
|
||||||
make CC="$CC" all >/dev/null || exit 1
|
MAKE=$(command -v gmake)
|
||||||
|
${MAKE:=make} CC="$CC" all >/dev/null || exit 1
|
||||||
|
|
||||||
# select a game
|
# select a game
|
||||||
#
|
#
|
||||||
|
|||||||
+2
-1
@@ -9,7 +9,8 @@
|
|||||||
|
|
||||||
# make sure the program has been built
|
# make sure the program has been built
|
||||||
#
|
#
|
||||||
make CC="$CC" all >/dev/null || exit 1
|
MAKE=$(command -v gmake)
|
||||||
|
${MAKE:=make} CC="$CC" all >/dev/null || exit 1
|
||||||
|
|
||||||
# clear the screen
|
# clear the screen
|
||||||
#
|
#
|
||||||
|
|||||||
+2
-1
@@ -11,7 +11,8 @@ fi
|
|||||||
|
|
||||||
# make sure the program has been built
|
# make sure the program has been built
|
||||||
#
|
#
|
||||||
make CC="$CC" all >/dev/null || exit 1
|
MAKE=$(command -v gmake)
|
||||||
|
${MAKE:=make} CC="$CC" all >/dev/null || exit 1
|
||||||
|
|
||||||
# clear the screen
|
# clear the screen
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -9,7 +9,8 @@
|
|||||||
|
|
||||||
# make sure the program has been built
|
# make sure the program has been built
|
||||||
#
|
#
|
||||||
make CC="$CC" all >/dev/null || exit 1
|
MAKE=$(command -v gmake)
|
||||||
|
${MAKE:=make} CC="$CC" all >/dev/null || exit 1
|
||||||
|
|
||||||
# clear the screen
|
# clear the screen
|
||||||
#
|
#
|
||||||
|
|||||||
+2
-1
@@ -12,7 +12,8 @@ fi
|
|||||||
|
|
||||||
# make sure the program has been built
|
# make sure the program has been built
|
||||||
#
|
#
|
||||||
make CC="$CC" all >/dev/null || exit 1
|
MAKE=$(command -v gmake)
|
||||||
|
${MAKE:=make} CC="$CC" all >/dev/null || exit 1
|
||||||
|
|
||||||
|
|
||||||
# clear the screen
|
# clear the screen
|
||||||
|
|||||||
+2
-1
@@ -9,7 +9,8 @@
|
|||||||
|
|
||||||
# make sure the program has been built
|
# make sure the program has been built
|
||||||
#
|
#
|
||||||
make CC="$CC" all tipple >/dev/null || exit 1
|
MAKE=$(command -v gmake)
|
||||||
|
${MAKE:=make} CC="$CC" all tipple >/dev/null || exit 1
|
||||||
|
|
||||||
# clear the screen
|
# clear the screen
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -9,7 +9,8 @@
|
|||||||
|
|
||||||
# make sure the program has been built
|
# make sure the program has been built
|
||||||
#
|
#
|
||||||
make CC="$CC" all >/dev/null || exit 1
|
MAKE=$(command -v gmake)
|
||||||
|
${MAKE:=make} CC="$CC" all >/dev/null || exit 1
|
||||||
|
|
||||||
# clear the screen
|
# clear the screen
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -9,7 +9,8 @@
|
|||||||
|
|
||||||
# make sure the program and the alt program have been built
|
# make sure the program and the alt program have been built
|
||||||
#
|
#
|
||||||
make CC="$CC" everything >/dev/null || exit 1
|
MAKE=$(command -v gmake)
|
||||||
|
${MAKE:=make} CC="$CC" everything >/dev/null || exit 1
|
||||||
|
|
||||||
# clear the screen
|
# clear the screen
|
||||||
#
|
#
|
||||||
|
|||||||
+1
-1
@@ -9,7 +9,7 @@ if [[ -z "$CC" ]]; then
|
|||||||
CC="cc"
|
CC="cc"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
MAKE=$(which gmake)
|
MAKE=$(command -v gmake)
|
||||||
${MAKE:=make} CC="$CC" all >/dev/null || exit 1
|
${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: "
|
||||||
|
|||||||
+2
-1
@@ -9,7 +9,8 @@
|
|||||||
|
|
||||||
# make sure the program and the alt program have been built
|
# make sure the program and the alt program have been built
|
||||||
#
|
#
|
||||||
make CC="$CC" everything >/dev/null || exit 1
|
MAKE=$(command -v gmake)
|
||||||
|
${MAKE:=make} CC="$CC" everything >/dev/null || exit 1
|
||||||
|
|
||||||
# clear the screen
|
# clear the screen
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -9,7 +9,8 @@
|
|||||||
|
|
||||||
# make sure the program has been built
|
# make sure the program has been built
|
||||||
#
|
#
|
||||||
make CC="$CC" all >/dev/null || exit 1
|
MAKE=$(command -v gmake)
|
||||||
|
${MAKE:=make} CC="$CC" all >/dev/null || exit 1
|
||||||
|
|
||||||
# clear the screen
|
# clear the screen
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -9,7 +9,8 @@
|
|||||||
|
|
||||||
# make sure the program has been built
|
# make sure the program has been built
|
||||||
#
|
#
|
||||||
make CC="$CC" all >/dev/null || exit 1
|
MAKE=$(command -v gmake)
|
||||||
|
${MAKE:=make} CC="$CC" all >/dev/null || exit 1
|
||||||
|
|
||||||
# clear the screen
|
# clear the screen
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -9,7 +9,8 @@
|
|||||||
|
|
||||||
# make sure the program has been built
|
# make sure the program has been built
|
||||||
#
|
#
|
||||||
make CC="$CC" alt >/dev/null || exit 1
|
MAKE=$(command -v gmake)
|
||||||
|
${MAKE:=make} CC="$CC" alt >/dev/null || exit 1
|
||||||
|
|
||||||
# clear the screen
|
# clear the screen
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -9,7 +9,8 @@
|
|||||||
|
|
||||||
# make sure the program has been built
|
# make sure the program has been built
|
||||||
#
|
#
|
||||||
make CC="$CC" all >/dev/null || exit 1
|
MAKE=$(command -v gmake)
|
||||||
|
${MAKE:=make} CC="$CC" all >/dev/null || exit 1
|
||||||
|
|
||||||
# clear the screen
|
# clear the screen
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -9,7 +9,8 @@
|
|||||||
|
|
||||||
# make sure the program and the alt program have been built
|
# make sure the program and the alt program have been built
|
||||||
#
|
#
|
||||||
make CC="$CC" everything >/dev/null || exit 1
|
MAKE=$(command -v gmake)
|
||||||
|
${MAKE:=make} CC="$CC" everything >/dev/null || exit 1
|
||||||
|
|
||||||
# clear the screen
|
# clear the screen
|
||||||
#
|
#
|
||||||
|
|||||||
+2
-1
@@ -9,7 +9,8 @@
|
|||||||
|
|
||||||
# make sure the program has been built
|
# make sure the program has been built
|
||||||
#
|
#
|
||||||
make CC="$CC" all >/dev/null || exit 1
|
MAKE=$(command -v gmake)
|
||||||
|
${MAKE:=make} CC="$CC" all >/dev/null || exit 1
|
||||||
|
|
||||||
# clear the screen
|
# clear the screen
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -9,7 +9,8 @@
|
|||||||
|
|
||||||
# make sure the program and the alt program have been built
|
# make sure the program and the alt program have been built
|
||||||
#
|
#
|
||||||
make CC="$CC" everything >/dev/null || exit 1
|
MAKE=$(command -v gmake)
|
||||||
|
${MAKE:=make} CC="$CC" everything >/dev/null || exit 1
|
||||||
|
|
||||||
# clear the screen
|
# clear the screen
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -9,7 +9,8 @@
|
|||||||
|
|
||||||
# make sure the program has been built
|
# make sure the program has been built
|
||||||
#
|
#
|
||||||
make CC="$CC" alt >/dev/null || exit 1
|
MAKE=$(command -v gmake)
|
||||||
|
${MAKE:=make} CC="$CC" alt >/dev/null || exit 1
|
||||||
|
|
||||||
# clear the screen
|
# clear the screen
|
||||||
#
|
#
|
||||||
|
|||||||
+2
-1
@@ -9,7 +9,8 @@
|
|||||||
|
|
||||||
# make sure the program has been built
|
# make sure the program has been built
|
||||||
#
|
#
|
||||||
make CC="$CC" all >/dev/null || exit 1
|
MAKE=$(command -v gmake)
|
||||||
|
${MAKE:=make} CC="$CC" all >/dev/null || exit 1
|
||||||
|
|
||||||
# clear the screen
|
# clear the screen
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -9,7 +9,8 @@
|
|||||||
|
|
||||||
# make sure the program has been built
|
# make sure the program has been built
|
||||||
#
|
#
|
||||||
make CC="$CC" all >/dev/null || exit 1
|
MAKE=$(command -v gmake)
|
||||||
|
${MAKE:=make} CC="$CC" all >/dev/null || exit 1
|
||||||
|
|
||||||
# clear the screen
|
# clear the screen
|
||||||
#
|
#
|
||||||
|
|||||||
+2
-1
@@ -9,7 +9,8 @@
|
|||||||
|
|
||||||
# make sure the program has been built
|
# make sure the program has been built
|
||||||
#
|
#
|
||||||
make CC="$CC" all >/dev/null || exit 1
|
MAKE=$(command -v gmake)
|
||||||
|
${MAKE:=make} CC="$CC" all >/dev/null || exit 1
|
||||||
|
|
||||||
# clear the screen
|
# clear the screen
|
||||||
#
|
#
|
||||||
|
|||||||
+2
-1
@@ -9,7 +9,8 @@
|
|||||||
|
|
||||||
# make sure the program has been built
|
# make sure the program has been built
|
||||||
#
|
#
|
||||||
make CC="$CC" all >/dev/null || exit 1
|
MAKE=$(command -v gmake)
|
||||||
|
${MAKE:=make} CC="$CC" all >/dev/null || exit 1
|
||||||
|
|
||||||
# clear the screen
|
# clear the screen
|
||||||
#
|
#
|
||||||
|
|||||||
+2
-1
@@ -11,7 +11,8 @@ fi
|
|||||||
|
|
||||||
# make sure the program has been built
|
# make sure the program has been built
|
||||||
#
|
#
|
||||||
make CC="$CC" all >/dev/null || exit 1
|
MAKE=$(command -v gmake)
|
||||||
|
${MAKE:=make} CC="$CC" all >/dev/null || exit 1
|
||||||
|
|
||||||
# clear the screen
|
# clear the screen
|
||||||
#
|
#
|
||||||
|
|||||||
+2
-1
@@ -9,7 +9,8 @@
|
|||||||
|
|
||||||
# make sure the program has been built
|
# make sure the program has been built
|
||||||
#
|
#
|
||||||
make CC="$CC" all >/dev/null || exit 1
|
MAKE=$(command -v gmake)
|
||||||
|
${MAKE:=make} CC="$CC" all >/dev/null || exit 1
|
||||||
|
|
||||||
# clear the screen
|
# clear the screen
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in new issue
Block a user