diff options
author | Ashley Hewson <a.hewson@gmail.com> | 2014-02-24 21:23:09 +0000 |
---|---|---|
committer | Ashley Hewson <a.hewson@gmail.com> | 2014-02-24 21:23:09 +0000 |
commit | a8cda69a73f11ef1905de988c1530e54ba2f40b9 (patch) | |
tree | ba77a357947c8a8ca7ac82cd4241212e97ebcb7b | |
parent | eedb6a3ad7c2fcb72ef60893478a11e3a390e152 (diff) | |
parent | 6241a499431ce56b012facd1971a380b73a15dab (diff) | |
download | rneovim-a8cda69a73f11ef1905de988c1530e54ba2f40b9.tar.gz rneovim-a8cda69a73f11ef1905de988c1530e54ba2f40b9.tar.bz2 rneovim-a8cda69a73f11ef1905de988c1530e54ba2f40b9.zip |
Merge pull request #85 from jszakmeister/remove-bashisms
scripts/common.sh: remove a couple bashisms
-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 |