mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Use dirname of $0
This commit is contained in:
@@ -16,7 +16,7 @@ while getopts ":fhtvw-:" opt; do
|
||||
done
|
||||
|
||||
if [ $EXPECT_OUTPUT ]; then
|
||||
"$0/../../../atom.exe" "$@"
|
||||
"$(dirname $0)/../../atom.exe" "$@"
|
||||
else
|
||||
"$0/../../app/apm/bin/node.exe" "$0/../atom.js" "$@"
|
||||
"$(dirname $0)/../app/apm/bin/node.exe" "$0/../atom.js" "$@"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user