Skip to content
Permalink
Browse files

Properly use variations as an array.

git-svn-id: https://svn.macports.org/repository/macports/trunk/base@1532 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Jordan K. Hubbard
Jordan K. Hubbard committed Jan 3, 2003
1 parent ebb2e2d commit 7dd3e86c07a4790224fea468c10bc27bca21b004
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/port/portall.tcl
@@ -145,7 +145,7 @@ proc port_traverse {func {dir .}} {
proc pindex {portdir} {
global target options variations

if [catch {set interp [dportopen file://$portdir [array get options] $variations]} err] {
if [catch {set interp [dportopen file://$portdir [array get options] [array get variations]]} err] {
puts "Error: Couldn't create interpreter for $portdir: $err"
return -1
}
@@ -158,7 +158,7 @@ proc pindex {portdir} {

# zero-out the options array
array set options [list]
set variations [list]
array set variations [list]

if { $argc < 1 } {
set target build

0 comments on commit 7dd3e86

Please sign in to comment.
You can’t perform that action at this time.