aboutsummaryrefslogtreecommitdiffstats
path: root/Tools/portbuild
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2006-07-30 22:40:43 +0800
committererwin <erwin@FreeBSD.org>2006-07-30 22:40:43 +0800
commit03f125017a98173edabc30c93cb28cd594d4b38e (patch)
treeb3b2b5b72c0168ebc66cead8436ffba9bad13b2f /Tools/portbuild
parent39436b673592d0f4a782f5d2259d0faa4cd7cf1e (diff)
downloadfreebsd-ports-gnome-03f125017a98173edabc30c93cb28cd594d4b38e.tar.gz
freebsd-ports-gnome-03f125017a98173edabc30c93cb28cd594d4b38e.tar.zst
freebsd-ports-gnome-03f125017a98173edabc30c93cb28cd594d4b38e.zip
Change locking from per architecture to per architecture and branch.
Especialy i386 has enough horsepower to run two branches simultaniously. This change has been on pointyhat for some time.
Diffstat (limited to 'Tools/portbuild')
-rwxr-xr-xTools/portbuild/scripts/dopackages.wrapper3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tools/portbuild/scripts/dopackages.wrapper b/Tools/portbuild/scripts/dopackages.wrapper
index fe19ad4452a9..cde459aade42 100755
--- a/Tools/portbuild/scripts/dopackages.wrapper
+++ b/Tools/portbuild/scripts/dopackages.wrapper
@@ -17,12 +17,13 @@ shift
. ${pb}/${arch}/portbuild.conf
-lock=${pb}/${arch}/lock
+lock=${pb}/${arch}/${branch}/lock
status=${pb}/${arch}/status
date=$(date '+%Y%m%d%H')
shortdate=$(date '+%Y%m%d')
if [ -e ${lock} ]; then
+ echo "Already locked."
exit 1
fi