[LON-CAPA-cvs] cvs: loncom /homework/caparesponse commands
albertel
lon-capa-cvs@mail.lon-capa.org
Tue, 01 Jul 2003 17:57:08 -0000
albertel Tue Jul 1 13:57:08 2003 EDT
Modified files:
/loncom/homework/caparesponse commands
Log:
- works withj RH9 now
Index: loncom/homework/caparesponse/commands
diff -u loncom/homework/caparesponse/commands:1.13 loncom/homework/caparesponse/commands:1.14
--- loncom/homework/caparesponse/commands:1.13 Tue Apr 15 11:48:18 2003
+++ loncom/homework/caparesponse/commands Tue Jul 1 13:57:08 2003
@@ -43,7 +43,7 @@
cp $CAPADIR/pProj/LONCAPA/*.o capaFunctions
swig -perl5 capa.i
dist=`perl ../../build/distprobe`
-if [ $dist = "redhat8" ]
+if [[ $dist == "redhat8" || $dist == "redhat9" ]]
then
cat capa_wrap.c | perl -pe '$_=~s-SWIGEXPORT\(void,boot_capa\)\(CV\* cv\)\;-SWIGEXPORT\(void,boot_capa\)\(pTHX_ CV\* cv\)\;-;' > capa_wrap.c.new
mv capa_wrap.c.new capa_wrap.c