From 970f2dc6e05cc831471b5054b7c7c67059a1c06e Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Tue, 20 Mar 2012 17:12:26 +0000 Subject: [PATCH] Change script generation of root command: replace fragile construct sudo sh -c '' with slightly less fragile construct sudo sh << ROOT_EOF ROOT_EOF Note: $ are not escaped, which is usually what is intended, but not always --- BLFS/xsl/scripts.xsl | 60 ++++++++++++++++++++++++++++++++++---------- 1 file changed, 47 insertions(+), 13 deletions(-) diff --git a/BLFS/xsl/scripts.xsl b/BLFS/xsl/scripts.xsl index 3761bd3..be505dd 100644 --- a/BLFS/xsl/scripts.xsl +++ b/BLFS/xsl/scripts.xsl @@ -436,11 +436,11 @@ fi - sudo sh -c ' + sudo sh << ROOT_EOF - ' + ROOT_EOF @@ -507,10 +507,10 @@ popd - - - make -j1 - + + + + @@ -519,18 +519,52 @@ popd - - + + + + + \` + + + + + + + + + \\ + + + + + + + + + + + **EDITME EDITME** -