Changeset 567


Ignore:
Timestamp:
Sep 9, 2002, 4:38:07 PM (17 years ago)
Author:
jkh
Message:

Small optimization to make the code cleaner.

File:
1 edited

Legend:

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

    r566 r567  
    9393            set verbose ""
    9494        }
    95         if [file isdirectory [file join $sysportpath packages]] {
    96             set ptarget [file join $sysportpath packages]/${portname}-${portversion}.tar.gz
     95        set pkgdir [join $sysportpath packages]
     96        if [file isdirectory $pkgdir] {
     97            set ptarget $pkgdir/${portname}-${portversion}.tar.gz
    9798        } else {
    9899            set ptarget ${portname}-${portversion}.tar.gz
Note: See TracChangeset for help on using the changeset viewer.