Skip to content

Commit 42718b1

Browse files
damiengMichelle Tilley
authored andcommitted
Ensure Windows Bash script works on all versions
(cherry picked from commit 196bc53)
1 parent d887633 commit 42718b1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

resources/win/atom.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
#!/bin/sh
2-
$(dirname "$0")/atom.cmd "$@"
2+
pushd $(dirname "$0") > /dev/null
3+
ATOMCMD=""$(pwd -W)"/atom.cmd"
4+
popd > /dev/null
5+
cmd.exe //c "$ATOMCMD" "$@"

0 commit comments

Comments
 (0)