From 6241a499431ce56b012facd1971a380b73a15dab Mon Sep 17 00:00:00 2001 From: John Szakmeister Date: Sun, 23 Feb 2014 15:01:41 -0500 Subject: scripts/common.sh: remove a couple bashisms This allows the scripts to work on systems that don't have /bin/bash as /bin/sh--such as Debian. --- scripts/common.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts') diff --git a/scripts/common.sh b/scripts/common.sh index 8c5d8a61ab..f42c000c6f 100644 --- a/scripts/common.sh +++ b/scripts/common.sh @@ -1,13 +1,13 @@ platform='unknown' unameval=`uname` -if [ "$unameval" == 'Linux' ]; then +if [ "$unameval" = 'Linux' ]; then platform='linux' -elif [ "$unameval" == 'FreeBSD' ]; then +elif [ "$unameval" = 'FreeBSD' ]; then platform='freebsd' fi sha1sumcmd='sha1sum' -if [ "$platform" == 'freebsd' ]; then +if [ "$platform" = 'freebsd' ]; then sha1sumcmd='shasum' fi -- cgit