version 1.3, 2025/01/21 20:46:41
|
version 1.8, 2025/01/21 22:31:15
|
Line 18
|
Line 18
|
|
|
PROGN=`basename $0` |
PROGN=`basename $0` |
|
|
if [ $EUID -ne 0 ] |
#if [ "$UID" != "0" ] |
then |
#then |
echo "$PROGN error: must run as root" |
# echo "$PROGN error: must run as root" |
exit 1 |
# exit 1 |
fi |
#fi |
|
|
TARGET="client" |
TARGET="client" |
TUSER="build:6000" |
TUSER="build:6000" |
Line 47 fi
|
Line 47 fi
|
tmphost=`echo ${THOST} | cut -d. -f1` |
tmphost=`echo ${THOST} | cut -d. -f1` |
THOST="${tmphost}" |
THOST="${tmphost}" |
|
|
if [ "$OS" == "SunOS" ] |
if [ "$OS" = "SunOS" ] |
then |
then |
BUILDMAN_BASE="/export/home/build" |
BUILDMAN_BASE="/export/home/build" |
else |
else |
Line 76 do
|
Line 76 do
|
|
|
m) |
m) |
BUILDMAN_MASTER="${OPTARG}" |
BUILDMAN_MASTER="${OPTARG}" |
|
;; |
|
|
esac |
esac |
done |
done |
|
|