--- buildman/install 2025/01/21 20:46:41 1.3 +++ buildman/install 2025/01/21 20:59:13 1.5 @@ -18,7 +18,7 @@ PROGN=`basename $0` -if [ $EUID -ne 0 ] +if [ $UID -ne 0 ] then echo "$PROGN error: must run as root" exit 1 @@ -47,7 +47,7 @@ fi tmphost=`echo ${THOST} | cut -d. -f1` THOST="${tmphost}" -if [ "$OS" == "SunOS" ] +if [ "$OS" = "SunOS" ] then BUILDMAN_BASE="/export/home/build" else @@ -76,7 +76,8 @@ do m) BUILDMAN_MASTER="${OPTARG}" - + ;; + esac done