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/portbuild/scripts/buildscript | |
parent | b2abae3101f0bbf34635b86d1228f4f19aeaedec (diff) | |
download | ports-d50285d854c2a083f2c39d6bea5e27583f112a8e.tar.gz ports-d50285d854c2a083f2c39d6bea5e27583f112a8e.zip |
Notes
Diffstat (limited to 'Tools/portbuild/scripts/buildscript')
-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 |