[40635] trunk/dports/x11/vnc/Portfile

jmr at macports.org jmr at macports.org
Wed Oct 8 23:22:54 PDT 2008


Revision: 40635
          http://trac.macports.org/changeset/40635
Author:   jmr at macports.org
Date:     2008-10-08 23:22:54 -0700 (Wed, 08 Oct 2008)
Log Message:
-----------
vnc: remove use of cd

Modified Paths:
--------------
    trunk/dports/x11/vnc/Portfile

Modified: trunk/dports/x11/vnc/Portfile
===================================================================
--- trunk/dports/x11/vnc/Portfile	2008-10-09 06:21:04 UTC (rev 40634)
+++ trunk/dports/x11/vnc/Portfile	2008-10-09 06:22:54 UTC (rev 40635)
@@ -29,10 +29,9 @@
 				patch-vncserver \
 				patch-vncviewer
 post-patch {
-	cd ${worksrcpath}
-	reinplace "s|@PREFIX@|${prefix}|g" vncserver
+	reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/vncserver
 	if {[catch {set perl [binaryInPath "perl"]}] == 0} {
-		reinplace "s|@PERL@|${perl}|g" vncserver
+		reinplace "s|@PERL@|${perl}|g" ${worksrcpath}/vncserver
 	}
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20081008/87076c75/attachment.html 


More information about the macports-changes mailing list