diff options
Diffstat (limited to 'scripts/common.sh')
-rw-r--r-- | scripts/common.sh | 6 |
1 files changed, 3 insertions, 3 deletions
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 |