]> source.dussan.org Git - tigervnc.git/commitdiff
Always look for the Java classes in ../vnc/classes first before looking in the system...
authorDRC <dcommander@users.sourceforge.net>
Tue, 4 Oct 2011 06:57:19 +0000 (06:57 +0000)
committerDRC <dcommander@users.sourceforge.net>
Tue, 4 Oct 2011 06:57:19 +0000 (06:57 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4691 3789f03b-4d11-0410-bbf8-ca57d06f2519

unix/vncserver

index 689641f01e34ba342d9db949d30d9997a9cf2a77..3d629ed564725a0b9d2ffeb95c39ad456c2f75d3 100755 (executable)
@@ -48,9 +48,10 @@ $xauth = "xauth";
 
 $geometry = "1024x768";
 #$depth = 16;
-$vncJavaFiles = (((-d "/usr/share/vnc/classes") && "/usr/share/vnc/classes") ||
-                 ((-d "/usr/local/vnc/classes") && "/usr/local/vnc/classes") ||
-                 ((-d "$vncClasses") && "$vncClasses"));
+$vncJavaFiles = (((-d "$vncClasses") && "$vncClasses") ||
+                 ((-d "/usr/share/vnc/classes") && "/usr/share/vnc/classes") ||
+                 ((-d "/usr/local/vnc/classes") && "/usr/local/vnc/classes"));
+                 
 $vncUserDir = "$ENV{HOME}/.vnc";
 $xauthorityFile = "$ENV{XAUTHORITY}" || "$ENV{HOME}/.Xauthority";