We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b62f17 commit e9064a2Copy full SHA for e9064a2
src/main/resources/mac/startup.vtl
@@ -1,4 +1,4 @@
1
#!/bin/bash
2
# Mac OS X startup script generated by JavaPackager plugin
3
-SCRIPTPATH=`cd "$(dirname "$0")" ; pwd`
+SCRIPTPATH=$(cd "$(dirname "$0")" || return 1; pwd)
4
osascript -e "do shell script quoted form of \"$SCRIPTPATH\" & \"/universalJavaApplicationStub $@\" with administrator privileges" &
0 commit comments