On 2/14/07, George Boudreau <[EMAIL PROTECTED]> wrote:

Most of the changes I made were for the pretty stuff. Dash does not have
  'echo -e' and the 'time' function does not work like the Bash version.
Therefore I had to force bash to be the shell.

Here's a patch to not use 'echo -e'. Basically, it removes the use of
\n by calling echo multiple times. Tested with bash and dash on a
dummy Makefile.

--
Dan
Index: common/libs/func_wrt_Makefile
===================================================================
--- common/libs/func_wrt_Makefile	(revision 3295)
+++ common/libs/func_wrt_Makefile	(working copy)
@@ -34,8 +34,8 @@
 
 SU_LUSER       = su - \$(LUSER) -c
 LUSER_HOME     = /home/\$(LUSER)
-PRT_DU         = echo -e "\nKB: \`du -skx --exclude=\$(SCRIPT_ROOT) --exclude=lost+found \$(MOUNT_PT) \`\n"
-PRT_DU_CR      = echo -e "\nKB: \`du -skx --exclude=\$(SCRIPT_ROOT) --exclude=lost+found / \`\n"
+PRT_DU         = echo; echo "KB: \`du -skx --exclude=\$(SCRIPT_ROOT) --exclude=lost+found \$(MOUNT_PT) \`"; echo
+PRT_DU_CR      = echo; echo "KB: \`du -skx --exclude=\$(SCRIPT_ROOT) --exclude=lost+found / \`"; echo
 
 ADD_REPORT       = $REPORT
 ADD_CUSTOM_TOOLS = $CUSTOM_TOOLS
-- 
http://linuxfromscratch.org/mailman/listinfo/alfs-discuss
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to