[119692] trunk/base/src/port/port.tcl
cal at macports.org
cal at macports.org
Sat May 3 15:31:20 PDT 2014
Revision: 119692
https://trac.macports.org/changeset/119692
Author: cal at macports.org
Date: 2014-05-03 15:31:20 -0700 (Sat, 03 May 2014)
Log Message:
-----------
base: port/port.tcl: Use {*} instead of eval, use exec -ignorestderr
Modified Paths:
--------------
trunk/base/src/port/port.tcl
Modified: trunk/base/src/port/port.tcl
===================================================================
--- trunk/base/src/port/port.tcl 2014-05-03 22:27:43 UTC (rev 119691)
+++ trunk/base/src/port/port.tcl 2014-05-03 22:31:20 UTC (rev 119692)
@@ -3893,7 +3893,7 @@
if { $editor eq "" } { set editor "/usr/bin/vi" }
# Invoke the editor
- if {[catch {eval exec >@stdout <@stdin 2>@stderr $editor {$portfile}} result]} {
+ if {[catch {exec -ignorestderr >@stdout <@stdin {*}$editor $portfile} result]} {
global errorInfo
ui_debug "$errorInfo"
break_softcontinue "unable to invoke editor $editor: $result" 1 status
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140503/d26b6d06/attachment.html>
More information about the macports-changes
mailing list