--- buildman/bma 2025/01/21 15:54:01 1.1.1.1 +++ buildman/bma 2025/01/22 03:58:43 1.4 @@ -44,11 +44,11 @@ then exit 1 fi -if [ $EUID -ne ${BUILDMAN_UID} ] -then - echo "${PROGN} error: must be run as user \"${BUILDMAN_USER}\"" - exit 1 -fi +#if [ $EUID -ne ${BUILDMAN_UID} ] +#then +# echo "${PROGN} error: must be run as user \"${BUILDMAN_USER}\"" +# exit 1 +#fi OS=`uname` DT=`date +"%Y%m%d"` @@ -91,10 +91,11 @@ do echo "$PROGN: creating job ${JOBID}" JOBDIR="${HOSTDIR}/jobs/${JOBID}" JLOG="${JOBDIR}/job.log" - JSCR="${BUILDMAN_BASE}/project/${PROJECT}/scripts/build.sh" + JSCR="${BUILDMAN_BASE}/projects/${PROJECT}/scripts/build.sh" mkdir -p "${JOBDIR}" - + cd "${JOBDIR}" + echo "${JOBID}" > "${HOSTDIR}/build-running" echo "${JOBID}" > "${JOBDIR}/running"