Bug#462460: fix

hungerburg dub at lazy.shacknet.nu
Sun Jan 27 18:31:02 UTC 2008


Package: exim4-config
Version: 4.69-1
Followup-For: Bug #462460


the sed error is due to the way, UPEX4C_macros are constructed in
the script, with bare embedded newlines, that should be escapes
instead, patch the preprocess_macro() function like this:

--- /usr/sbin/update-exim4.conf-debian	2008-01-22 09:36:34.000000000 +0100
+++ /usr/sbin/update-exim4.conf	2008-01-27 19:19:17.060973318 +0100
@@ -329,7 +329,7 @@
   macroname="${1:-}"
   shift
   contents="$(lowercase ${@:-empty} | check_ascii_pipe)"
-  echo -n ".ifndef $macroname\n$macroname=$contents\n.endif\n"
+  echo -n ".ifndef $macroname\\\n$macroname=$contents\\\n.endif\\\n"
 }
 
 seed_macro() {

## hope that helps! Peter





More information about the Pkg-exim4-maintainers mailing list