diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2002-09-15 21:57:05 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2002-09-15 21:57:05 +0000 |
commit | d50285d854c2a083f2c39d6bea5e27583f112a8e (patch) | |
tree | ea1214adcff9a32dad8ac91c25f1625f17a4c4fd /Tools | |
parent | .tbz packages are now standard (diff) |
Add PKG_PATH so packages can be found automatically (not sure what caused
this to break). Support both .tgz and .tbz packages.
Notes
Notes:
svn path=/head/; revision=66385
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/portbuild/scripts/buildscript | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Tools/portbuild/scripts/buildscript b/Tools/portbuild/scripts/buildscript index c1d0ada32901..8f842e1dd534 100755 --- a/Tools/portbuild/scripts/buildscript +++ b/Tools/portbuild/scripts/buildscript @@ -13,11 +13,13 @@ if [ $phase = 1 ]; then echo "build started at $(date)" cd /tmp/depends + export PKG_PATH=/tmp/depends if [ "$(echo $(/bin/ls | wc -c))" != 0 ]; then echo "adding dependencies" - for i in *.tgz; do + for i in *.t[bg]z; do echo "pkg_add -f $i" base=$(basename $i .tgz) + base=$(basename $base .tbz) if pkg_info -q -e $base; then echo "skipping $base, already added" else |