version 1.1, 2025/01/21 15:54:01
|
version 1.3, 2025/01/21 22:29:52
|
Line 44 then
|
Line 44 then
|
exit 1 |
exit 1 |
fi |
fi |
|
|
if [ $EUID -ne ${BUILDMAN_UID} ] |
#if [ $EUID -ne ${BUILDMAN_UID} ] |
then |
#then |
echo "${PROGN} error: must be run as user \"${BUILDMAN_USER}\"" |
# echo "${PROGN} error: must be run as user \"${BUILDMAN_USER}\"" |
exit 1 |
# exit 1 |
fi |
#fi |
|
|
OS=`uname` |
OS=`uname` |
DT=`date +"%Y%m%d"` |
DT=`date +"%Y%m%d"` |
Line 94 do
|
Line 94 do
|
JSCR="${BUILDMAN_BASE}/project/${PROJECT}/scripts/build.sh" |
JSCR="${BUILDMAN_BASE}/project/${PROJECT}/scripts/build.sh" |
|
|
mkdir -p "${JOBDIR}" |
mkdir -p "${JOBDIR}" |
|
cd "${JOBDIR}" |
|
|
echo "${JOBID}" > "${HOSTDIR}/build-running" |
echo "${JOBID}" > "${HOSTDIR}/build-running" |
echo "${JOBID}" > "${JOBDIR}/running" |
echo "${JOBID}" > "${JOBDIR}/running" |
|
|