summaryrefslogtreecommitdiffstats
path: root/Tools/portbuild
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2005-10-11 04:02:05 +0000
committerkris <kris@FreeBSD.org>2005-10-11 04:02:05 +0000
commitbdd75aa33519560ad700cba67e73e56826072b17 (patch)
treef3c495e00e975942a6a8cb4e20a23355d9bda615 /Tools/portbuild
parentdf8394bdb2d2fd824acd750c63e73352c34d6ade (diff)
downloadFreeBSD-ports-bdd75aa33519560ad700cba67e73e56826072b17.zip
FreeBSD-ports-bdd75aa33519560ad700cba67e73e56826072b17.tar.gz
Remove unused variables. Don't bother protecting against negative
queue lengths since that doesn't arise.
Diffstat (limited to 'Tools/portbuild')
-rwxr-xr-xTools/portbuild/scripts/releasemachine6
1 files changed, 2 insertions, 4 deletions
diff --git a/Tools/portbuild/scripts/releasemachine b/Tools/portbuild/scripts/releasemachine
index 66d23b1..0dad470 100755
--- a/Tools/portbuild/scripts/releasemachine
+++ b/Tools/portbuild/scripts/releasemachine
@@ -5,8 +5,8 @@ buildroot=/var/portbuild
i=$1
m=$2
-infoseek_host=$m
-infoseek_port=infoseek
+#infoseek_host=$m
+#infoseek_port=infoseek
. ${buildroot}/${i}/portbuild.conf
if [ -f ${buildroot}/${i}/portbuild.${m} ]; then
. ${buildroot}/${i}/portbuild.${m}
@@ -21,8 +21,6 @@ fi
if [ "$num" -gt 0 ]; then
echo $((${num}-1)) > $q
-else
- echo 0 > $q
fi
chown ports-${i} ${q}
OpenPOWER on IntegriCloud