[LON-CAPA-cvs] cvs: loncom /build lpml_parse.pl
harris41
lon-capa-cvs@mail.lon-capa.org
Thu, 23 May 2002 19:24:33 -0000
harris41 Thu May 23 15:24:33 2002 EDT
Modified files:
/loncom/build lpml_parse.pl
Log:
fixing syntax error with shell commands
Index: loncom/build/lpml_parse.pl
diff -u loncom/build/lpml_parse.pl:1.49 loncom/build/lpml_parse.pl:1.50
--- loncom/build/lpml_parse.pl:1.49 Thu May 23 12:55:20 2002
+++ loncom/build/lpml_parse.pl Thu May 23 15:24:33 2002
@@ -12,7 +12,7 @@
# The LearningOnline Network with CAPA
# lpml_parse.pl - Linux Packaging Markup Language parser
#
-# $Id: lpml_parse.pl,v 1.49 2002/05/23 16:55:20 harris41 Exp $
+# $Id: lpml_parse.pl,v 1.50 2002/05/23 19:24:33 harris41 Exp $
#
# Written by Scott Harrison, codeharrison@yahoo.com
#
@@ -1296,7 +1296,7 @@
$targetroot.'/'.$target."\\\n\t\t".
' && echo "**** WARNING: NEW CONFIGURATION FILE ADDED ****"'.
"\\\n\t\t".$logcmd.' && '."\\\n\t\t".
- '&& echo -n "'.
+ 'echo -n "'.
'You likely need to review the contents of "'."\\\n\t\t\t".
'&& echo -n "'.
$targetroot.'/'.$target.'"'."\\\n\t\t\t".
@@ -1310,7 +1310,7 @@
'{ [ $$ECODE != "1" ] || ('."\\\n\t\t".
'echo "**** ERROR ****"'.$logcmd.' && '."\\\n\t\t".'echo -n "'.
'Configuration source file does not exist "'."\\\n\t\t".
- 'echo -n "'.$sourceroot.'/'.$source.'"'."\\\n\t\t".
+ '&& echo -n "'.$sourceroot.'/'.$source.'"'."\\\n\t\t".
"$logcmd); } && "."\\\n\t\t".
"perl verifymodown.pl ${targetroot}/${target} "."\\\n\t\t\t".
"\"$categoryhash{$categoryname}\""."\\\n\t\t\t".