summarylogtreecommitdiffstats
path: root/filebot-arch.sh
diff options
context:
space:
mode:
authormax.bra2018-08-29 16:38:34 +0200
committermax.bra2018-08-29 16:38:34 +0200
commit468ee37187be3151f484d6adc4d6b49cd0311e8d (patch)
tree750ce7066dcc0ca1100def0930c4d0388181c6ee /filebot-arch.sh
parent0822d9c90486c1102737c03e10d7c48dfdedf707 (diff)
downloadaur-468ee37187be3151f484d6adc4d6b49cd0311e8d.tar.gz
v. 4.8.4
Diffstat (limited to 'filebot-arch.sh')
-rw-r--r--filebot-arch.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/filebot-arch.sh b/filebot-arch.sh
index 65cbecba2a95..cbf8ac3c708d 100644
--- a/filebot-arch.sh
+++ b/filebot-arch.sh
@@ -5,6 +5,8 @@ export LANG="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"
APP_ROOT=/usr/share/java/filebot
+cd $APP_ROOT
+
# add APP_ROOT to LD_LIBRARY_PATH
if [ ! -z "$LD_LIBRARY_PATH" ]; then
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$APP_ROOT"
@@ -18,5 +20,5 @@ EXTRACTOR="ApacheVFS" # use Apache Commons VFS2 with junrar plugin
# EXTRACTOR="SevenZipNativeBindings" # use the lib7-Zip-JBinding.so native library
# start filebot
-java -Dunixfs=false -DuseGVFS=false -DuseExtendedFileAttributes=true -DuseCreationDate=false -Djava.net.useSystemProxies=false -Dapplication.deployment=AUR -Dfile.encoding="UTF-8" -Dsun.jnu.encoding="UTF-8" -Djna.nosys=false -Djna.nounpack=true -Dnet.filebot.Archive.extractor="$EXTRACTOR" -Dnet.filebot.AcoustID.fpcalc="fpcalc" -Dapplication.dir=$HOME/.config/filebot -Djava.io.tmpdir=/tmp/filebot -Dapplication.update=skip -Djna.library.path=/usr/share/java $JAVA_OPTS -cp /usr/share/java/filebot/filebot.jar net.filebot.Main "$@"
+java -Dunixfs=false -DuseGVFS=false -DuseExtendedFileAttributes=true -DuseCreationDate=false -Djava.net.useSystemProxies=false -Dapplication.deployment=AUR -Dfile.encoding="UTF-8" -Dsun.jnu.encoding="UTF-8" -Djna.nosys=false -Djna.nounpack=true -Dnet.filebot.Archive.extractor="$EXTRACTOR" -Dnet.filebot.AcoustID.fpcalc="fpcalc" -Dapplication.dir=$HOME/.config/filebot -Djava.io.tmpdir=/tmp/filebot -Dapplication.update=skip -Djna.library.path=/usr/share/java/filebot $JAVA_OPTS -cp /usr/share/java/filebot/filebot.jar net.filebot.Main "$@"