[LON-CAPA-cvs] cvs: loncom /homework randomlabel.pm
www
lon-capa-cvs@mail.lon-capa.org
Fri, 09 Jan 2004 00:53:20 -0000
www Thu Jan 8 19:53:20 2004 EDT
Modified files:
/loncom/homework randomlabel.pm
Log:
Removing syntax error.
Index: loncom/homework/randomlabel.pm
diff -u loncom/homework/randomlabel.pm:1.55 loncom/homework/randomlabel.pm:1.56
--- loncom/homework/randomlabel.pm:1.55 Thu Jan 8 15:28:20 2004
+++ loncom/homework/randomlabel.pm Thu Jan 8 19:53:19 2004
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# random labelling tool
#
-# $Id: randomlabel.pm,v 1.55 2004/01/08 20:28:20 albertel Exp $
+# $Id: randomlabel.pm,v 1.56 2004/01/09 00:53:19 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -107,7 +107,7 @@
my $newbgimg = $bgimg;
$bgimg=~s/\.(gif|jpg|png|jpeg)$/\.eps/i;
$bgimg= &Apache::lonnet::filelocation($bgimg);
- $bgimg=~s|http:/[^/]*//home/httpd/html|;
+ $bgimg=~s|http:/[^/]*|/home/httpd/html|;
$bgimg=~s|/$||;
#if no eps file try to replicate it
if (not-e $bgimg) {