* set LD_LIBRARY_PATH to APP_ROOT by default (so users can add required native libraries themselves)

This commit is contained in:
Reinhard Pointner 2014-07-08 06:23:33 +00:00
parent febffc4e0c
commit a9e5d0ba50
2 changed files with 11 additions and 1 deletions

View File

@ -21,6 +21,14 @@ APP_ROOT=`cd "$PRG_DIR" && pwd`
cd "$WORKING_DIR"
# add APP_ROOT to LD_LIBRARY_PATH
if [ ! -z "$LD_LIBRARY_PATH" ]
then
export LD_LIBRARY_PATH="$APP_ROOT:$LD_LIBRARY_PATH"
else
export LD_LIBRARY_PATH="$APP_ROOT"
fi
# force JVM language and encoding settings
export LANG=en_US.utf8

View File

@ -14,7 +14,9 @@
"qinst": true,
"qupgrade": true,
"qstart": true,
"silent_install": true,
"silent_upgrade": true,
"depsers": "ssh",
"icon": "http://i.imgur.com/bxHSJp9.png",
"snapshot": [
"http://i.imgur.com/FozbUS0.png"
@ -22,7 +24,7 @@
"package": "filebot",
"version": "@{version}",
"link": "https://downloads.sourceforge.net/project/filebot/filebot/FileBot_@{version}/filebot-@{version}-noarch.spk",
"size": "31457280",
"size": "52428800",
"md5": "@{spk.md5}"
}
]