Use PKGSUFFIX from buildenv
This commit is contained in:
parent
d50285d854
commit
538513b7da
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=66386
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue