Revision
119680
Author
cal@macports.org
Date
2014-05-03 14:55:18 -0700 (Sat, 03 May 2014)

Log Message

base/port1.0/portlivecheck.tcl: Replace ev[ai]l with Tcl expand operator

Modified Paths

Diff

Modified: trunk/base/src/port1.0/portlivecheck.tcl (119679 => 119680)


--- trunk/base/src/port1.0/portlivecheck.tcl	2014-05-03 21:52:56 UTC (rev 119679)
+++ trunk/base/src/port1.0/portlivecheck.tcl	2014-05-03 21:55:18 UTC (rev 119680)
@@ -146,7 +146,7 @@
         "regexm" {
             # single and multiline regex
             ui_debug "Fetching ${livecheck.url}"
-            if {[catch {eval curl fetch $curl_options {${livecheck.url}} $tempfile} error]} {
+            if {[catch {curl fetch {*}$curl_options ${livecheck.url} $tempfile} error]} {
                 ui_error "cannot check if $subport was updated ($error)"
                 set updated -1
             } else {
@@ -198,7 +198,7 @@
         }
         "md5" {
             ui_debug "Fetching ${livecheck.url}"
-            if {[catch {eval curl fetch $curl_options {${livecheck.url}} $tempfile} error]} {
+            if {[catch {curl fetch {*}$curl_options ${livecheck.url} $tempfile} error]} {
                 ui_error "cannot check if $subport was updated ($error)"
                 set updated -1
             } else {