[LON-CAPA-cvs] cvs: loncom /homework/caparesponse commands
albertel
lon-capa-cvs@mail.lon-capa.org
Sat, 04 May 2002 17:57:01 -0000
albertel Sat May 4 13:57:01 2002 EDT
Modified files:
/loncom/homework/caparesponse commands
Log:
- check for make file don't assume it exists (BUG#333)
Index: loncom/homework/caparesponse/commands
diff -u loncom/homework/caparesponse/commands:1.11 loncom/homework/caparesponse/commands:1.12
--- loncom/homework/caparesponse/commands:1.11 Fri Jan 19 13:45:32 2001
+++ loncom/homework/caparesponse/commands Sat May 4 13:57:01 2002
@@ -31,7 +31,10 @@
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