Ticket #22557: macports.tcl.diff

File macports.tcl.diff, 522 bytes (added by nerdling (Jeremy Lavergne), 15 years ago)

test for space in build_arch

  • src/macports1.0/macports.tcl

     
    753753        } else {
    754754            set macports::build_arch ""
    755755        }
     756    } else {
     757        if {[string first " " ${macports::build_arch}] > -1} {
     758            return -code error "build_arch '${macports::build_arch}' must be one arch (not contain a space)."
     759        }
    756760    }
    757761
    758762    # ENV cleanup.