changeset 18:c9fba5007577

Merged commit from dereckson: Fixing linuxisms
author Ivo Smits <Ivo@UCIS.nl>
date Sun, 27 Feb 2011 20:55:05 +0100
parents 8f564c559416 (current diff) d621348448de (diff)
children 3400045a57b8
files build.sh
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/build.sh	Sun Feb 27 20:41:23 2011 +0100
+++ b/build.sh	Sun Feb 27 20:55:05 2011 +0100
@@ -1,9 +1,9 @@
 #!/bin/sh
 
-if [ `uname -s` == "OpenBSD" -o `uname -s` == "FreeBSD" ]; then
+if [ "$(uname -s)" = "OpenBSD" -o "$(uname -s)" = "FreeBSD" ]; then
 	echo "Detected *BSD"
 	tar="gtar"
-elif [ `uname -s` == "SunOS" ]; then
+elif [ "$(uname -s)" = "SunOS" ]; then
 	echo "Detected SunOS"
 	tar="gtar"
 	CFLAGS="$CFLAGS -DSOLARIS -m64"
--- a/clean.sh	Sun Feb 27 20:41:23 2011 +0100
+++ b/clean.sh	Sun Feb 27 20:55:05 2011 +0100
@@ -1,3 +1,3 @@
 #!/bin/sh
 echo Cleaning up...
-rm -r out obj debian/data tmp
+rm -rf out obj debian/data tmp