* use sh template

This commit is contained in:
Reinhard Pointner 2015-06-05 06:34:29 +00:00
parent 10704bc216
commit 042eb1379c
1 changed files with 3 additions and 4 deletions

View File

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/sh
PRG="${BASH_SOURCE[0]}" PRG="$0"
# resolve relative symlinks # resolve relative symlinks
while [ -h "$PRG" ] ; do while [ -h "$PRG" ] ; do
@ -20,5 +20,4 @@ APP_ROOT=`cd "$PRG_DIR/../.." && pwd`
# restore original working dir # restore original working dir
cd "$WORKING_DIR" cd "$WORKING_DIR"
java -Dunixfs=false -DuseExtendedFileAttributes=true -DuseCreationDate=false -Djava.net.useSystemProxies=true -Dsun.net.client.defaultConnectTimeout=10000 -Dsun.net.client.defaultReadTimeout=60000 -Dapple.awt.UIElement=true -Djna.nounpack=true -Dapplication.deployment=app "-Djna.library.path=$APP_ROOT/Contents/MacOS" "-Djava.library.path=$APP_ROOT/Contents/MacOS" "-Dnet.filebot.AcoustID.fpcalc=$APP_ROOT/Contents/MacOS/fpcalc" -jar "$APP_ROOT"/Contents/Java/FileBot*.jar "$@"
java -Dunixfs=false -DuseExtendedFileAttributes=true -DuseCreationDate=false -Djava.net.useSystemProxies=true -Dsun.net.client.defaultConnectTimeout=10000 -Dsun.net.client.defaultReadTimeout=60000 -Dapple.awt.UIElement=true -Djna.nounpack=true -Dapplication.deployment=app "-Djna.library.path=$APP_ROOT/Contents/MacOS" "-Djava.library.path=$APP_ROOT/Contents/MacOS" "-Dnet.filebot.AcoustID.fpcalc=$APP_ROOT/Contents/MacOS/fpcalc" -jar "$APP_ROOT"/Contents/Java/* "$@"