[32846] trunk/dports/math/ndiff/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Jan 13 21:28:31 PST 2008


Revision: 32846
          http://trac.macosforge.org/projects/macports/changeset/32846
Author:   ryandesign at macports.org
Date:     2008-01-13 21:28:30 -0800 (Sun, 13 Jan 2008)

Log Message:
-----------
ndiff: no longer use the deprecated 'cd' command

Modified Paths:
--------------
    trunk/dports/math/ndiff/Portfile

Modified: trunk/dports/math/ndiff/Portfile
===================================================================
--- trunk/dports/math/ndiff/Portfile	2008-01-14 05:26:57 UTC (rev 32845)
+++ trunk/dports/math/ndiff/Portfile	2008-01-14 05:28:30 UTC (rev 32846)
@@ -23,8 +23,7 @@
 patchfiles          patch-Makefile.in
 
 pre-test {
-    cd ${worksrcpath}
-    system "patch -p0 < ${filespath}/patch-Makefile"
+    system "cd ${worksrcpath} && patch -p0 < ${filespath}/patch-Makefile"
 }
 test.run            yes
 test.target         check

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080113/1e078bbb/attachment.html


More information about the macports-changes mailing list