From d343d907a9813ddbb554b7c15dc5a95fa30481a0 Mon Sep 17 00:00:00 2001
From: Peter Simons <simons@cryp.to>
Date: Thu, 26 Aug 2010 09:39:32 +0000
Subject: [PATCH] pkgs/tools/admin/tightvnc/builder.sh: install java classes to
 $out/share/tightvnc rather than $out/vnc

svn path=/nixpkgs/trunk/; revision=23437
---
 pkgs/tools/admin/tightvnc/builder.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkgs/tools/admin/tightvnc/builder.sh b/pkgs/tools/admin/tightvnc/builder.sh
index d54bf7c761ef..e0aba7e9336e 100644
--- a/pkgs/tools/admin/tightvnc/builder.sh
+++ b/pkgs/tools/admin/tightvnc/builder.sh
@@ -36,7 +36,7 @@ installPhase() {
     ./vncinstall $out/bin $out/man
 
     # fix HTTP client:
-    t=$out/vnc
+    t=$out/share/tightvnc
     ensureDir $t
     sed -i "s@/usr/local/vnc/classes@$out/vnc/classes@g" $out/bin/vncserver
     cp -r classes $t