Ensure Windows Bash script works on all versions

This commit is contained in:
Damien Guard
2016-04-20 09:57:41 -07:00
parent 53b516a6ec
commit 196bc53e6b

View File

@@ -1,2 +1,5 @@
#!/bin/sh
$(dirname "$0")/atom.cmd "$@"
pushd $(dirname "$0") > /dev/null
ATOMCMD=""$(pwd -W)"/atom.cmd"
popd > /dev/null
cmd.exe //c "$ATOMCMD" "$@"