version 1.2, 2001/06/23 21:33:42
|
version 1.4, 2001/12/13 14:53:05
|
|
|
#!/bin/sh | #!/bin/sh |
|
if test `whoami` != 'root'; then |
|
echo "You have to be root to build the pegasus rpm" |
|
exit |
|
fi |
|
# |
if test "$PEGASUS_PLATFORM" != LINUX_IX86_GNU; then | if test "$PEGASUS_PLATFORM" != LINUX_IX86_GNU; then |
echo "Please set PEGASUS_PLATFORM to LINUX_IX86_GNU" | echo "Please set PEGASUS_PLATFORM to LINUX_IX86_GNU" |
echo "either using export PEGASUS_PLATFORM=LINUX_IX86_GNU for ksh and bash" | echo "either using export PEGASUS_PLATFORM=LINUX_IX86_GNU for ksh and bash" |
|
|
exit | exit |
fi | fi |
# | # |
|
if test "$PEGASUS_CONCURRENT" != "yes" ; then |
|
echo "Please set PEGASUS_CONCURRENT to yes" |
|
exit |
|
fi |
|
# |
PEGASUS_BASE=`basename $PEGASUS_ROOT` | PEGASUS_BASE=`basename $PEGASUS_ROOT` |
if test "$PEGASUS_BASE" != "pegasus-1.0"; then | if test "$PEGASUS_BASE" != "pegasus-1.0"; then |
echo "I'm going to make sure that pegasus is found in */pegasus-1.0/ " | echo "I'm going to make sure that pegasus is found in */pegasus-1.0/ " |