[LON-CAPA-cvs] cvs: modules /TexConvert/tthperl commands
albertel
lon-capa-cvs@mail.lon-capa.org
Thu, 14 Jul 2005 02:04:26 -0000
albertel Wed Jul 13 22:04:26 2005 EDT
Modified files:
/modules/TexConvert/tthperl commands
Log:
- support the concept of dist specific tth.so
Index: modules/TexConvert/tthperl/commands
diff -u modules/TexConvert/tthperl/commands:1.12 modules/TexConvert/tthperl/commands:1.13
--- modules/TexConvert/tthperl/commands:1.12 Wed Jul 13 17:31:47 2005
+++ modules/TexConvert/tthperl/commands Wed Jul 13 22:04:26 2005
@@ -1,6 +1,10 @@
dist=`perl ../../../loncom/build/distprobe`
arch=`uname -i`
-echo compiles/tth.so.$arch
+if test -f compiles/tth.so.$arch.$dist
+then
+ cp compiles/tth.so.$arch.$dist tth.so
+ exit 0
+fi
if test -f compiles/tth.so.$arch
then
cp compiles/tth.so.$arch tth.so