[40631] trunk/dports/gnustep/system-preferences/Portfile

jmr at macports.org jmr at macports.org
Wed Oct 8 23:09:25 PDT 2008


Revision: 40631
          http://trac.macports.org/changeset/40631
Author:   jmr at macports.org
Date:     2008-10-08 23:09:24 -0700 (Wed, 08 Oct 2008)
Log Message:
-----------
system-preferences: remove use of cd

Modified Paths:
--------------
    trunk/dports/gnustep/system-preferences/Portfile

Modified: trunk/dports/gnustep/system-preferences/Portfile
===================================================================
--- trunk/dports/gnustep/system-preferences/Portfile	2008-10-09 05:02:05 UTC (rev 40630)
+++ trunk/dports/gnustep/system-preferences/Portfile	2008-10-09 06:09:24 UTC (rev 40631)
@@ -26,15 +26,13 @@
 patchfiles      patch-installation-domain
 
 build {
-    cd ${worksrcpath}
-    system "export ${build.env} &&
+    system "cd ${worksrcpath} && export ${build.env} &&
         gnumake messages=yes [set_gnustep_make] -C SystemPreferences &&
         gnumake messages=yes [set_gnustep_make] -C Modules"
 }
 
 destroot {
-    cd ${worksrcpath}
-    system "export ${destroot.env} &&
+    system "cd ${worksrcpath} && export ${destroot.env} &&
         gnumake install ${destroot.destdir} messages=yes [set_gnustep_make] \
             -C SystemPreferences &&
         gnumake install ${destroot.destdir} messages=yes [set_gnustep_make] -C Modules"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20081008/75926713/attachment.html 


More information about the macports-changes mailing list