about summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers/jitsi
diff options
context:
space:
mode:
authorBryan Gardiner <bog@khumba.net>2015-09-09 09:43:08 -0700
committerVladimír Čunát <vcunat@gmail.com>2015-09-17 21:19:47 +0200
commit37cd8fc16f11206e9ccff463381608c2a0b35479 (patch)
tree5aaebac277798df49eb4189d7f6913a459461aaa /pkgs/applications/networking/instant-messengers/jitsi
parentdc5b2741c984750f856c55824204b3e4ccc89292 (diff)
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
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/jitsi')
-rw-r--r--pkgs/applications/networking/instant-messengers/jitsi/jitsi.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/networking/instant-messengers/jitsi/jitsi.patch b/pkgs/applications/networking/instant-messengers/jitsi/jitsi.patch
index 942b3cd0cbe6f..e672ac6dc2d8b 100644
--- a/pkgs/applications/networking/instant-messengers/jitsi/jitsi.patch
+++ b/pkgs/applications/networking/instant-messengers/jitsi/jitsi.patch
@@ -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/`