1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

Use PKGSUFFIX from buildenv

This commit is contained in:
Kris Kennaway 2002-09-15 21:57:52 +00:00
parent d50285d854
commit 538513b7da
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=66386

View File

@ -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