[123792] trunk/base/src/macports1.0/macports.tcl

larryv at macports.org larryv at macports.org
Thu Aug 14 09:19:09 PDT 2014


Revision: 123792
          https://trac.macports.org/changeset/123792
Author:   larryv at macports.org
Date:     2014-08-14 09:19:09 -0700 (Thu, 14 Aug 2014)
Log Message:
-----------
macports.tcl: Remove unnecessary shell invocation.

The "system" proc already runs a new shell.
https://lists.macosforge.org/pipermail/macports-dev/2014-August/027658.html.

Modified Paths:
--------------
    trunk/base/src/macports1.0/macports.tcl

Modified: trunk/base/src/macports1.0/macports.tcl
===================================================================
--- trunk/base/src/macports1.0/macports.tcl	2014-08-14 16:07:33 UTC (rev 123791)
+++ trunk/base/src/macports1.0/macports.tcl	2014-08-14 16:19:09 UTC (rev 123792)
@@ -2345,7 +2345,7 @@
                     } else {
                         set git_action "pull --rebase"
                     }
-                    set git_commandline "sh -c 'cd $portdir && $git_cmd $git_action || true'"
+                    set git_commandline "cd $portdir && $git_cmd $git_action || true"
                     ui_debug $git_commandline
                     if {
                         [catch {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140814/b2b5e849/attachment.html>


More information about the macports-changes mailing list