#!/bin/sh # $Id$ chmod +x ./checkout.sh ./checkout.sh cd ppmlib make ./libppm.a cd .. xmkmf -DP_`uname -s` EXITCODE="$?" if [ ! "$EXITCODE" = "0" ]; then echo xmkmf failed. I hope it succeeds next time. exit $EXITCODE fi make $@ EXITCODE="$?" if [ "$EXITCODE" = "0" ]; then echo "*** Welcome to Compass" exit 0 else echo make failed. I hope it succeeds next time. exit $EXITCODE fi