--- loncom/homework/caparesponse/commands 2001/01/17 18:01:31 1.10 +++ loncom/homework/caparesponse/commands 2002/05/04 17:57:01 1.12 @@ -16,16 +16,25 @@ then then echo "" else - ln -s /usr/src/linux/include/asm /usr/include/asm + echo "ERROR. You are missing a necessary symbolic link." + echo "You should type, as superuser, a command like this:" + echo " ln -s /usr/src/linux/include/asm /usr/include/asm" + exit 1 fi if test -e /usr/include/linux then echo "" else - ln -s /usr/src/linux/include/linux /usr/include/linux + echo "ERROR. You are missing a necessary symbolic link." + echo "You should type, as superuser, a command like this:" + echo " ln -s /usr/src/linux/include/linux /usr/include/linux" + exit 1 fi fi -make -f Makefile clean +if test -f Makefile +then + make -f Makefile clean +fi mkdir capaFunctions path=`pwd` cd $CAPADIR/pProj