[40551] trunk/dports/sysutils/cfengine/Portfile

jmr at macports.org jmr at macports.org
Mon Oct 6 13:48:48 PDT 2008


Revision: 40551
          http://trac.macports.org/changeset/40551
Author:   jmr at macports.org
Date:     2008-10-06 13:48:47 -0700 (Mon, 06 Oct 2008)
Log Message:
-----------
cfengine: remove use of cd

Modified Paths:
--------------
    trunk/dports/sysutils/cfengine/Portfile

Modified: trunk/dports/sysutils/cfengine/Portfile
===================================================================
--- trunk/dports/sysutils/cfengine/Portfile	2008-10-06 20:34:21 UTC (rev 40550)
+++ trunk/dports/sysutils/cfengine/Portfile	2008-10-06 20:48:47 UTC (rev 40551)
@@ -25,8 +25,7 @@
 
 patchfiles		patch-pub__getopt.c
 post-patch {
-	cd ${worksrcpath}
-	foreach manfile [glob doc/*.8] {
+	foreach manfile [glob ${worksrcpath}/doc/*.8] {
 		reinplace "s|/usr/local|${prefix}|g" $manfile
 		reinplace "s|/var/cfengine|${prefix}&|g" $manfile
 	}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20081006/8d721fa7/attachment.html 


More information about the macports-changes mailing list