aboutsummaryrefslogtreecommitdiffstats
path: root/Tools/portbuild
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-09-16 05:57:52 +0800
committerkris <kris@FreeBSD.org>2002-09-16 05:57:52 +0800
commit28eb8575a8d88fe9da45cb84dfa84071d570f705 (patch)
tree3ffc2eada1a2358fad5b64d7b575aa916a4bcc6b /Tools/portbuild
parent19f74c6c9d9aa29548b642550693a20c70b301f0 (diff)
downloadfreebsd-ports-gnome-28eb8575a8d88fe9da45cb84dfa84071d570f705.tar.gz
freebsd-ports-gnome-28eb8575a8d88fe9da45cb84dfa84071d570f705.tar.zst
freebsd-ports-gnome-28eb8575a8d88fe9da45cb84dfa84071d570f705.zip
Use PKGSUFFIX from buildenv
Diffstat (limited to 'Tools/portbuild')
-rwxr-xr-xTools/portbuild/scripts/pdispatch6
1 files changed, 5 insertions, 1 deletions
diff --git a/Tools/portbuild/scripts/pdispatch b/Tools/portbuild/scripts/pdispatch
index 38ed4ac33bb2..f103103fb111 100755
--- a/Tools/portbuild/scripts/pdispatch
+++ b/Tools/portbuild/scripts/pdispatch
@@ -8,6 +8,8 @@
pb=/var/portbuild
. ${pb}/portbuild.conf
+. ${pb}/scripts/buildenv
+
# wait 4 hours maximum
timeout=14400
@@ -15,10 +17,12 @@ branch=$1
command=$2
shift 2
+buildenv ${pb} ${branch}
+
# ssh -x doesn't work on some machines
unset DISPLAY
-pkgname=$(basename $1 .tgz)
+pkgname=$(basename $1 ${PKGSUFFIX})
buildroot=$(dirname $(dirname $0))
if grep -qxF $pkgname ${buildroot}/${branch}/duds; then