aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJohn Szakmeister <john@szakmeister.net>2014-02-23 15:01:41 -0500
committerJohn Szakmeister <john@szakmeister.net>2014-02-23 15:01:41 -0500
commit6241a499431ce56b012facd1971a380b73a15dab (patch)
tree0a1bd4dac41db0edd41c3eb3b29e4fadfa634885 /scripts
parentb0abcda487d4f1bc7eb3f6a1edc878e576124451 (diff)
downloadrneovim-6241a499431ce56b012facd1971a380b73a15dab.tar.gz
rneovim-6241a499431ce56b012facd1971a380b73a15dab.tar.bz2
rneovim-6241a499431ce56b012facd1971a380b73a15dab.zip
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.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/common.sh6
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