summaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-11-02 04:00:18 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-11-02 04:00:18 +0000
commit52918465c1711c09cd62e938d71d06bcbabb6fc5 (patch)
treeff67c818f0a980dce779b4c9633f6ab77232c48d /Tools
parentAdd FTP_PASSIVE_MODE. Build tgz packages on 4 and 4-exp, and tbz on 5. (diff)
Support either .tgz or .tbz packages
Notes
Notes: svn path=/head/; revision=69287
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/portbuild/scripts/chopindex4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/portbuild/scripts/chopindex b/Tools/portbuild/scripts/chopindex
index 99134bc0abe7..0b59a294049e 100755
--- a/Tools/portbuild/scripts/chopindex
+++ b/Tools/portbuild/scripts/chopindex
@@ -9,13 +9,13 @@ tmpindex=/tmp/index.$$
# make a list of all pkgnames that don't have corresponding packages
missing=$(/usr/bin/awk -v FS="|" -v pkgdir=$pkgdir '{
- if (system(sprintf("test -e %s/All/%s.tbz\n", pkgdir, $1)))
+ if (system(sprintf("test -e %s/All/%s.t[bg]z\n", pkgdir, $1)))
print $1 ;
}' $index)
# make an index for only the ports that have packages
/usr/bin/awk -v FS="|" -v pkgdir=$pkgdir '{
- if (system(sprintf("test ! -e %s/All/%s.tbz\n", pkgdir, $1)))
+ if (system(sprintf("test ! -e %s/All/%s.t[bg]z\n", pkgdir, $1)))
print $0 ;
}' $index > $tmpindex