Remove bashism in favor of portable alternative (#220)

This commit is contained in:
Nic Hartley
2019-02-21 10:02:22 -05:00
committed by juj
parent c486741551
commit a77638d5c1

View File

@@ -19,10 +19,11 @@ SRC="$BASH_SOURCE"
if [ "$SRC" = "" ]; then
SRC="$0"
fi
pushd `dirname "$SRC"` > /dev/null
CURDIR=$(pwd)
cd $(dirname "$SRC")
unset SRC
./emsdk construct_env "$@"
. ./emsdk_set_env.sh
popd > /dev/null
cd $CURDIR