bk: 666e7ca7jDHqu_t8vXcv52vEO-H7DA
+---
+* build script: Use hostname.site for NTF build hosts. Use the full
+ hostname for the buildkey. <stenn@ntp.org>
+* flock-build: Try to use the full hostname for the buildkey. <stenn@ntp.org>
+
---
(4.2.8p18) 2024/05/25 Released by Harlan Stenn <stenn@ntp.org>
LOGF=make.log
IAM=`hostname || uname -n`
-MYNAME=`IFS=. ; set $IAM ; echo $1`
+MYNAME=`echo $IAM | cut -d. -f1`
+MYNAME2=`echo $IAM | cut -d. -f1-2`
SIG=
case "$1" in
SIG=$1
shift
CONFIG_ARGS="$@"
- KEY=`sed -e q < .buildkey-$MYNAME`
+ KEY=`sed -e q < .buildkey-$IAM`
case "$SIG" in
$KEY) ;;
*)
case "$NTP_BDIR" in
'')
case "$IAM" in
- *.ntp.org | *.ntfo.org)
+ *.ntp.org)
NTP_BDIR=host
;;
+ *.ntfo.org)
+ NTP_BDIR=host2
+ ;;
*.udel.edu)
NTP_BDIR=host
# HMS: --enable-local-libopts is the default now...
host)
BASEDIR=A.$MYNAME
;;
+ host2)
+ BASEDIR=A.$MYNAME2
+ ;;
cvo)
BASEDIR=A.$CVO
;;
'--one'|'-1')
shift
FB_FIRSTONLY=1
- LIST=$MYNAME
+ LIST=$IAM
;;
*)
FB_FIRSTONLY=0
SIG=`perl -e 'print rand'`
case "$LIST" in
- '') LIST="pogo" ;;
+ '') LIST="pogo.udel.edu" ;;
esac
for i in $LIST