Ignore:
Timestamp:
Aug 4, 2003, 8:11:07 PM (15 years ago)
Author:
landonf
Message:

Clean up include paths
Remove include usage in portfetch.tcl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/port1.0/portutil.tcl

    r2751 r3163  
    409409    global distpath filedir workdir worksrcdir portpath
    410410
    411     if [file readable $fname] {
    412         return $fname
    413     } elseif [file readable $portpath/$fname] {
     411    if [file readable $portpath/$fname] {
    414412        return $portpath/$fname
    415413    } elseif [file readable $portpath/$filedir/$fname] {
     
    417415    } elseif [file readable $distpath/$fname] {
    418416        return $distpath/$fname
    419     } elseif [file readable $portpath/$workdir/$worksrcdir/$fname] {
    420         return $portpath/$workdir/$worksrcdir/$fname
    421     } elseif [file readable [file join /etc $fname]] {
    422         return [file join /etc $fname]
    423417    }
    424418    return ""
Note: See TracChangeset for help on using the changeset viewer.