jitsi: fix when installed via systemPackages

Close #9754.
Otherwise, the wrong directory is changed into, and trying to start Jitsi gives:

$ jitsi
Error: Could not find or load main class net.java.sip.communicator.launcher.SIPCommunicator
This commit is contained in:
Bryan Gardiner 2015-09-09 09:43:08 -07:00 committed by Vladimír Čunát
parent dc5b2741c9
commit 37cd8fc16f

View File

@ -7,7 +7,7 @@
+
+#mkdir -p $HOME/.sip-communicator/log
+
+cd "$( dirname "$( dirname "${BASH_SOURCE[0]}" )" )"
+cd "$(dirname "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")")"
# Get architecture
ARCH=`uname -m | sed -e s/x86_64/64/ -e s/i.86/32/`