$_ seems to be unreliable if used as first command of shell

This commit is contained in:
Aidan Hobson Sayers
2014-11-15 21:08:18 +00:00
parent a4462f3c72
commit 90da8d5dc3

View File

@@ -1,6 +1,6 @@
#!/bin/bash
pushd `dirname "$_"` > /dev/null
pushd `dirname "$BASH_SOURCE"` > /dev/null
./emsdk construct_env
source ./emsdk_set_env.sh
popd > /dev/null