--- buildman/bm 2025/01/21 20:01:34 1.2 +++ buildman/bm 2025/01/21 22:35:31 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 ACTION="" PROJECT="" @@ -111,7 +111,7 @@ done if [ ! -z "${PROJECT}" ] then PROJECT_BASE="${BUILDMAN_BASE}/projects/${PROJECT}" - if [ "${ACTION}" == "add" -a ! -d ${PROJECT_BASE} ] + if [ "${ACTION}" = "add" -a ! -d ${PROJECT_BASE} ] then echo "$PROGN: creating ${PROJECT} in ${PROJECT_BASE}..." mkdir -p "${PROJECT_BASE}" @@ -206,7 +206,7 @@ case $ACTION in H_VERSION=`echo ${PLSTR} | cut -d: -f3` H_ARCH=`echo ${PLSTR} | cut -d: -f4` - if [ "${PYES}" == "no" ] + if [ "${PYES}" = "no" ] then echo echo "Host Details" @@ -221,7 +221,7 @@ case $ACTION in read -n 1 -p "OK to create? (y/n) " YORN echo - if [ "${YORN}" == "y" -o "${YORN}" == "Y" ] + if [ "${YORN}" = "y" -o "${YORN}" = "Y" ] then CONF=1 else