Merge pull request #997 from ddworken/master

Make the script POSIX compliant so it works with dash (Fixes #977)
This commit is contained in:
bmw 2015-10-15 20:18:10 -07:00
commit 21a1ec73ae

View file

@ -14,7 +14,7 @@ export PATH="/usr/sbin:$PATH" # /usr/sbin/nginx
export GOPATH="${GOPATH:-/tmp/go}"
export PATH="$GOPATH/bin:$PATH"
if [ `uname` == 'Darwin' ]; then
if [ `uname` = "Darwin" ];then
readlink="greadlink"
else
readlink="readlink"