[LON-CAPA-cvs] cvs: modules /TexConvert/tthperl commands
albertel
lon-capa-cvs@mail.lon-capa.org
Tue, 01 Jul 2003 17:56:16 -0000
albertel Tue Jul 1 13:56:16 2003 EDT
Modified files:
/modules/TexConvert/tthperl commands
Log:
- modified to work with RH9
Index: modules/TexConvert/tthperl/commands
diff -u modules/TexConvert/tthperl/commands:1.10 modules/TexConvert/tthperl/commands:1.11
--- modules/TexConvert/tthperl/commands:1.10 Tue Apr 15 11:48:18 2003
+++ modules/TexConvert/tthperl/commands Tue Jul 1 13:56:16 2003
@@ -34,7 +34,7 @@
cp ../ttmdynamic/ttmfunc.c .
swig -perl5 tthfunc.i
dist=`perl ../../../loncom/build/distprobe`
-if [ $dist = "redhat8" ]
+if [[ $dist == "redhat8" || $dist = "redhat9" ]];
then
cat tthfunc_wrap.c | perl -pe '$_=~s-SWIGEXPORT\(void,boot_tth\)\(CV\* cv\)\;-SWIGEXPORT\(void,boot_tth\)\(pTHX_ CV\* cv\)\;-;' > tthfunc_wrap.c.new
mv tthfunc_wrap.c.new tthfunc_wrap.c