Minor update to 2005/timwi/try.sh
This commit is contained in:
1 parent
75f830ee57
commit
2caf4e80b5
1 file changed
+3
-4
+3
-4
@@ -3,15 +3,14 @@
|
|||||||
# try.sh - demonstrate IOCCC winner 2005/timwi
|
# try.sh - demonstrate IOCCC winner 2005/timwi
|
||||||
#
|
#
|
||||||
# This only does one thing and that is from the judges. This is because
|
# This only does one thing and that is from the judges. This is because
|
||||||
# brainfuck has too much potential to knacker the brain.
|
# brainfuck has too much potential to knacker the brain so we don't try.sh to
|
||||||
|
# make it worse :-)
|
||||||
#
|
#
|
||||||
|
|
||||||
# make sure CC is set so that when we do make CC="$CC" it isn't empty. Doing it
|
# make sure CC is set so that when we do make CC="$CC" it isn't empty. Doing it
|
||||||
# this way allows us to have the user specify a different compiler in an easy
|
# this way allows us to have the user specify a different compiler in an easy
|
||||||
# way.
|
# way.
|
||||||
if [[ -z "$CC" ]]; then
|
[[ -z "$CC" ]] && CC="cc"
|
||||||
CC="cc"
|
|
||||||
fi
|
|
||||||
|
|
||||||
make CC="$CC" all >/dev/null || exit 1
|
make CC="$CC" all >/dev/null || exit 1
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user