[123126] trunk/dports/devel/git-flow/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue Aug 5 18:16:46 PDT 2014


Revision: 123126
          https://trac.macports.org/changeset/123126
Author:   ryandesign at macports.org
Date:     2014-08-05 18:16:46 -0700 (Tue, 05 Aug 2014)
Log Message:
-----------
git-flow: use `system -W ... "..."` instead of `system "cd ... && ..."`

Modified Paths:
--------------
    trunk/dports/devel/git-flow/Portfile

Modified: trunk/dports/devel/git-flow/Portfile
===================================================================
--- trunk/dports/devel/git-flow/Portfile	2014-08-06 00:47:48 UTC (rev 123125)
+++ trunk/dports/devel/git-flow/Portfile	2014-08-06 01:16:46 UTC (rev 123126)
@@ -32,7 +32,7 @@
   post-fetch {
       # Does the github portgroup support 'clone --recursive'?
       # This will be removed once the python re-write is complete.
-      system "cd ${worksrcpath} && git submodule update --init"
+      system -W ${worksrcpath} "git submodule update --init"
   }
 }
 
@@ -52,7 +52,7 @@
   post-fetch {
       # Does the github portgroup support 'clone --recursive'?
       # This will be removed once the python re-write is complete.
-      system "cd ${worksrcpath} && git submodule update --init"
+      system -W ${worksrcpath} "git submodule update --init"
   }
 }
 
@@ -87,7 +87,7 @@
   post-fetch {
     # Does the github portgroup support 'clone --recursive'?
     # This will be removed once the python re-write is complete.
-    system "cd ${worksrcpath} && git submodule update --init"
+    system -W ${worksrcpath} "git submodule update --init"
   }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140805/4a8aefce/attachment.html>


More information about the macports-changes mailing list