mirror of
https://github.com/neovim/neovim.git
synced 2025-09-16 08:18:17 +00:00
Merge pull request #85 from jszakmeister/remove-bashisms
scripts/common.sh: remove a couple bashisms
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user