Changeset 11


Ignore:
Timestamp:
Aug 1, 2002, 12:21:25 AM (18 years ago)
Author:
landonf (Landon Fuller)
Message:

Set variables if they are not already set

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/Install/darwinports.1.0.tcl

    r10 r11  
    2828                set portpath /usr/darwinports
    2929                darwinports::readconf
    30                 set distpath $portpath/distfiles
    31                 set libpath ${portpath}/Tcl
     30                if ![info exists distpath] {
     31                        set distpath $portpath/distfiles
     32                }
     33                if ![info exists libpath] {
     34                        set libpath $portpath/Tcl
     35                }
    3236
    3337                if [file isdirectory $libpath] {
Note: See TracChangeset for help on using the changeset viewer.