[LON-CAPA-cvs] cvs: loncom /xml londefdef.pm
sakharuk
lon-capa-cvs@mail.lon-capa.org
Thu, 23 May 2002 17:43:07 -0000
sakharuk Thu May 23 13:43:07 2002 EDT
Modified files:
/loncom/xml londefdef.pm
Log:
se insensetive change
Index: loncom/xml/londefdef.pm
diff -u loncom/xml/londefdef.pm:1.62 loncom/xml/londefdef.pm:1.63
--- loncom/xml/londefdef.pm:1.62 Wed May 22 17:07:45 2002
+++ loncom/xml/londefdef.pm Thu May 23 13:43:07 2002
@@ -2,7 +2,7 @@
# The LearningOnline Network with CAPA
# Tags Default Definition Module
#
-# $Id: londefdef.pm,v 1.62 2002/05/22 21:07:45 sakharuk Exp $
+# $Id: londefdef.pm,v 1.63 2002/05/23 17:43:07 sakharuk Exp $
#
#
# Copyright Michigan State University Board of Trustees
@@ -1481,8 +1481,8 @@
$path = $1.'/';
}
my $newsrc = $src;
- $newsrc =~ s/(\.gif|\.jpg|\.GIF|\.JPG)$/\.eps/;
- $file=~s/(\.gif|\.jpg|\.GIF|\.JPG)$/\.eps/;
+ $newsrc =~ s/(\.gif|\.jpg)$/\.eps/i;
+ $file=~s/(\.gif|\.jpg)$/\.eps/i;
if (-e $newsrc) {
if ($path) {
$currentstring .= '\graphicspath{{'.$path.'}}\fbox{\includegraphics'.$width_param.'{'.$file.'}}';