version 1.6, 2025/03/10 17:08:20
|
version 1.9, 2025/03/10 17:17:29
|
Line 283 case $ACTION in
|
Line 283 case $ACTION in
|
|
|
if [ -f "${BUILD_WANTED}" ] |
if [ -f "${BUILD_WANTED}" ] |
then |
then |
echo "$PROGN error: build already requested" |
echo "$PROGN error: build already requested on host ${BUILD_HOST}" |
exit 1 |
exit 1 |
fi |
fi |
|
|
touch "${BUILD_WANTED}" |
touch "${BUILD_WANTED}" |
echo "$PROGN: build of project ${PROJECT} requested on build host ${BUILD_HOST}" |
echo "$PROGN: build of project ${PROJECT} requested on ${BUILD_HOST}" |
else |
else |
BHOSTS=`ls -1 "${BUILDMAN_BASE}/projects/${PROJECT}/hosts"` |
BHOSTS=`ls -1 "${BUILDMAN_BASE}/projects/${PROJECT}/hosts"` |
for BUILD_HOST in ${BHOSTS} |
for BUILD_HOST in ${BHOSTS} |
Line 298 case $ACTION in
|
Line 298 case $ACTION in
|
if [ ! -d "${BUILD_BASE}" ] |
if [ ! -d "${BUILD_BASE}" ] |
then |
then |
echo "$PROGN error: build host ${BUILD_HOST} not configured" |
echo "$PROGN error: build host ${BUILD_HOST} not configured" |
exit 1 |
continue |
fi |
fi |
|
|
BUILD_WANTED="${PROJECT_BASE}/hosts/${BUILD_HOST}/build-wanted" |
BUILD_WANTED="${PROJECT_BASE}/hosts/${BUILD_HOST}/build-wanted" |
|
|
if [ -f "${BUILD_WANTED}" ] |
if [ -f "${BUILD_WANTED}" ] |
then |
then |
echo "$PROGN error: build already requested" |
echo "$PROGN error: build already requested on ${BUILD_HOST}" |
exit 1 |
continue |
fi |
fi |
|
|
touch "${BUILD_WANTED}" > /dev/null 2>&1 |
touch "${BUILD_WANTED}" > /dev/null 2>&1 |