mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
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
@ -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 New Issue
Block a user