packages: jitsi/jitsi.sh - it loads files from hardcoded lib/ dir, chdir to...
glen
glen at pld-linux.org
Wed May 11 22:12:43 CEST 2011
Author: glen Date: Wed May 11 20:12:43 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- it loads files from hardcoded lib/ dir, chdir to app dir
---- Files affected:
packages/jitsi:
jitsi.sh (1.2 -> 1.3)
---- Diffs:
================================================================
Index: packages/jitsi/jitsi.sh
diff -u packages/jitsi/jitsi.sh:1.2 packages/jitsi/jitsi.sh:1.3
--- packages/jitsi/jitsi.sh:1.2 Wed May 11 22:04:09 2011
+++ packages/jitsi/jitsi.sh Wed May 11 22:12:38 2011
@@ -12,19 +12,21 @@
APPDIR=/usr/share/jitsi
MAIN_CLASS=net.java.sip.communicator.launcher.SIPCommunicator
-for jar in $APPDIR/lib/*.jar; do
+cd "$APPDIR"
+
+for jar in lib/*.jar; do
CLASSPATH=$CLASSPATH:$jar
done
for jar in sc-launcher.jar util.jar; do
- CLASSPATH=$CLASSPATH:$APPDIR/sc-bundles/$jar
+ CLASSPATH=$CLASSPATH:sc-bundles/$jar
done
# extra JVM options
OPTIONS="\
-Djna.library.path=$LIBDIR \
-Djava.library.path=$LIBDIR \
- -Dfelix.config.properties=file:$APPDIR/lib/felix.client.run.properties \
- -Djava.util.logging.config.file=$APPDIR/lib/logging.properties \
+ -Dfelix.config.properties=file:lib/felix.client.run.properties \
+ -Djava.util.logging.config.file=lib/logging.properties \
"
run "$@"
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/jitsi/jitsi.sh?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list