Skip to content
Permalink
Browse files

Fix default_sufx handling

git-svn-id: https://svn.macports.org/repository/macports/trunk/base@230 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
landonf committed Aug 21, 2002
1 parent 416b91e commit 4390c9b0e576c04a31d5412bf4400f37fc23eea3
Showing with 2 additions and 4 deletions.
  1. +2 −4 src/port1.0/portfetch.tcl
@@ -21,14 +21,12 @@ set UI_PREFIX "---> "

proc suffix {distname} {
global extract_sufx use_bzip2 use_zip
if {[info exists extract_sufx]} {
return ${distname}.${extract_sufx}
} elseif {[tbool use_bzip2]} {
if {[tbool use_bzip2]} {
return ${distname}.tar.bz2
} elseif {[tbool use_zip]} {
return ${distname}.zip
} else {
return ${distname}.tar.gz
return ${distname}.${extract_sufx}
}
}

0 comments on commit 4390c9b

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