Skip to content
Browse files

use tbool instead of exists. Also closes…


git-svn-id: d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Felix Kronlage
Felix Kronlage committed Nov 21, 2003
1 parent c4ffc5e commit 2b8acaf17ae9fc04a8c72d19f6102bacd38179ec
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/port1.0/portextract.tcl
@@ -57,9 +57,9 @@ set UI_PREFIX "---> "
proc extract_init {args} {
global extract.only extract.dir extract.cmd extract.pre_args extract.post_args distfiles use_bzip2 use_zip workpath

if {[exists use_bzip2]} {
if {[tbool use_bzip2]} {
option extract.cmd [binaryInPath "bzip2"]
} elseif {[exists use_zip]} {
} elseif {[tbool use_zip]} {
option extract.cmd [binaryInPath "unzip"]
option extract.pre_args -q
option extract.post_args "-d [option extract.dir]"

0 comments on commit 2b8acaf

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