[LON-CAPA-cvs] cvs: modules /TexConvert/tthperl commands

raeburn raeburn at source.lon-capa.org
Sat Apr 9 17:25:30 EDT 2016


raeburn		Sat Apr  9 21:25:30 2016 EDT

  Modified files:              
    /modules/TexConvert/tthperl	commands 
  Log:
  - Support perl 5.22
  
  
Index: modules/TexConvert/tthperl/commands
diff -u modules/TexConvert/tthperl/commands:1.21 modules/TexConvert/tthperl/commands:1.22
--- modules/TexConvert/tthperl/commands:1.21	Thu Aug 13 14:52:47 2015
+++ modules/TexConvert/tthperl/commands	Sat Apr  9 21:25:30 2016
@@ -10,7 +10,7 @@
 fi
 if test ! -f ../tthdynamic/tthfunc.c
 then
-        perlversion=`perl -wall -e '$ver=$^V;  $ver=~s/^v//; $ver=~s/\.\d+$//; $ver=~s/[^\d.]//g; print $ver';`
+        perlversion=`perl -w -e '$ver=$^V;  $ver=~s/^v//; $ver=~s/\.\d+$//; $ver=~s/[^\d.]//g; print $ver';`
         if [[ -z "$perlversion" ]];
         then
             perlversion=`perl -Mstrict -wall -e "print join('.', map {ord} split('',\$^V,2));"`




More information about the LON-CAPA-cvs mailing list