Skip to content
Browse files

Do the right thing if distfiles is not set

git-svn-id: d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
landonf committed Aug 18, 2002
1 parent 543115d commit d92aa5876e3c50acfe2c80ace31cb9f8219dc4e3
Showing with 5 additions and 0 deletions.
  1. +5 −0 Tcl/port1.0/portextract.tcl
@@ -19,6 +19,11 @@ options extract_opts extract.only extract.cmd extract.before_args extract.after_
proc extract_main {args} {
global portname portpath portpath workdir distname distpath distfiles use_bzip2 extract.only extract.cmd extract.before_args extract.after_args

if {![info exists distfiles] && ![info exists extract.only]} {
# nothing to do
return 0

# Set up defaults
default extract.only $distfiles
default extract.cmd gzip

0 comments on commit d92aa58

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