[40598] trunk/dports/graphics/pgplot/Portfile

jmr at macports.org jmr at macports.org
Tue Oct 7 23:44:54 PDT 2008


Revision: 40598
          http://trac.macports.org/changeset/40598
Author:   jmr at macports.org
Date:     2008-10-07 23:44:53 -0700 (Tue, 07 Oct 2008)
Log Message:
-----------
pgplot: remove use of cd

Modified Paths:
--------------
    trunk/dports/graphics/pgplot/Portfile

Modified: trunk/dports/graphics/pgplot/Portfile
===================================================================
--- trunk/dports/graphics/pgplot/Portfile	2008-10-08 06:29:05 UTC (rev 40597)
+++ trunk/dports/graphics/pgplot/Portfile	2008-10-08 06:44:53 UTC (rev 40598)
@@ -46,15 +46,13 @@
 }
 
 configure {
-	cd ${worksrcpath}
-	system "../makemake .. ${ppMakeMakeTarget} ${ppCompilerSpec}"
+	system "cd ${worksrcpath} && ../makemake .. ${ppMakeMakeTarget} ${ppCompilerSpec}"
 }
 
 build.target		all
 
 post-build {
-	cd ${worksrcpath}
-	system "make cpg"
+	system "cd ${worksrcpath} && make cpg"
 }
 
 destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20081007/e0a6c731/attachment.html 


More information about the macports-changes mailing list