[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#471876: megahal: bashism in /bin/sh script



tag 471876 patch
thanks

Attached is a patch fixing the bashism.

Cheers,
-- 
Atomo64 - Raphael

Please avoid sending me Word, PowerPoint or Excel attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
diff -urN megahal-9.1.1a.orig/debian/megahal-personal megahal-9.1.1a/debian/megahal-personal
--- megahal-9.1.1a.orig/debian/megahal-personal	2008-04-08 18:31:24.000000000 -0500
+++ megahal-9.1.1a/debian/megahal-personal	2008-04-08 18:37:06.000000000 -0500
@@ -21,7 +21,7 @@
 # create the brain if it's the first time we're called
 
 if [ ! -e "megahal.brn" ]; then
-    echo -e "#quit\n\n" | megahal > /dev/null 2>&1
+    printf "#quit\n\n\n" | megahal > /dev/null 2>&1
 fi
 
 exec megahal "$@"

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: