Mercurial > hg > quicktun
changeset 17:d621348448de
Fixing linuxisms
author | Dereckson <dereckson@espace-win.org> |
---|---|
date | Tue, 15 Feb 2011 02:10:30 +0100 |
parents | 1fa5b5fa49e1 |
children | c9fba5007577 |
files | build.sh clean.sh |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/build.sh Sun Feb 13 23:56:54 2011 +0100 +++ b/build.sh Tue Feb 15 02:10:30 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"