aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2005-12-11 04:36:23 +0000
committerKris Kennaway <kris@FreeBSD.org>2005-12-11 04:36:23 +0000
commit57164dfa7ab6322b756e9837c37c0feb67d182b6 (patch)
tree5ad6b768dfce5d9a6bf61b71c63106db2c9d25e6 /Tools
parent2f084309ba123b4d69bebad13d9031ff5a9aaa3a (diff)
downloadports-57164dfa7ab6322b756e9837c37c0feb67d182b6.tar.gz
ports-57164dfa7ab6322b756e9837c37c0feb67d182b6.zip
Notes
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/portbuild/scripts/getmachine4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tools/portbuild/scripts/getmachine b/Tools/portbuild/scripts/getmachine
index 849d300e6270..2cc940408a81 100755
--- a/Tools/portbuild/scripts/getmachine
+++ b/Tools/portbuild/scripts/getmachine
@@ -37,6 +37,10 @@ fi
# Choose highest-priority machine that is free
mach=$(echo ${mach} | tr -s ' ' '\n' | grep -F -f - ${pb}/${arch}/mlist | head -1)
+if [ -z "${mach}" ]; then
+ rm -f "${mach}"
+ exit 1
+fi
. ${pb}/${arch}/portbuild.conf
test -f ${pb}/${arch}/portbuild.${mach} && . ${pb}/${arch}/portbuild.${mach}