[LON-CAPA-cvs] cvs: loncom /build lpml_parse.pl

raeburn lon-capa-cvs@mail.lon-capa.org
Thu, 25 Jan 2007 22:54:25 -0000


raeburn		Thu Jan 25 17:54:25 2007 EDT

  Modified files:              
    /loncom/build	lpml_parse.pl 
  Log:
  Explicit setting of SHELL was causing syntax errors to be reported from commands on multiple lines, when running make Makefile.build for make 3.81-1.1.
  
  
Index: loncom/build/lpml_parse.pl
diff -u loncom/build/lpml_parse.pl:1.53 loncom/build/lpml_parse.pl:1.54
--- loncom/build/lpml_parse.pl:1.53	Fri Dec  9 15:41:35 2005
+++ loncom/build/lpml_parse.pl	Thu Jan 25 17:54:25 2007
@@ -12,7 +12,7 @@
 # The LearningOnline Network with CAPA
 # lpml_parse.pl - Linux Packaging Markup Language parser
 #
-# $Id: lpml_parse.pl,v 1.53 2005/12/09 20:41:35 albertel Exp $
+# $Id: lpml_parse.pl,v 1.54 2007/01/25 22:54:25 raeburn Exp $
 #
 # Written by Scott Harrison, codeharrison@yahoo.com
 #
@@ -531,7 +531,7 @@
 	print ' by Scott Harrison 2001'."\n";
 	print '# This file was automatically generated on '.`date`;
 	print "\n".$invocation;
-	$lpml .= "SHELL=\"/bin/bash\"\n\n";
+	$lpml .= "\n";
     }
     elsif ($mode eq 'configinstall') {
 	print '# LPML configuration file targets (configinstall).'."\n";
@@ -539,14 +539,14 @@
 	print ' by Scott Harrison 2001'."\n";
 	print '# This file was automatically generated on '.`date`;
 	print "\n".$invocation;
-	$lpml .= "SHELL=\"/bin/bash\"\n\n";
+	$lpml .= "\n";
     }
     elsif ($mode eq 'build') {
 	$lpml = "# LPML build targets. Linux Packaging Markup Language,";
 	$lpml .= ' by Scott Harrison 2001'."\n";
 	$lpml .= '# This file was automatically generated on '.`date`;
 	$lpml .= "\n".$invocation;
-	$lpml .= "SHELL=\"/bin/sh\"\n\n";
+	$lpml .= "\n";
     }
     else {
 	return '';