From 83e8b90e1d2cc5ff5d2443f2486c2d786a4997ce Mon Sep 17 00:00:00 2001 From: Clement Chauplannaz Date: Sat, 13 Jul 2013 16:36:56 +0200 Subject: [PATCH] scripts/config: use sed's POSIX interface Script `config' relies on extensions of `GNU sed', and is thus not working on all Unixes: - in-place edition of files (-i), which can be replaced with a temporary file; - extended-regexps (-r), which can be split into basic regexps; - single-line calls to `a' command, while some implementations require a leading newline before the parameter. Rewrite calls to `sed' to comply with POSIX interface, and move them to helper functions. Signed-off-by: Clement Chauplannaz Tested-by: "Yann E. MORIN" Reviewed-by: "Yann E. MORIN" Signed-off-by: Yann E. MORIN --- Reading git-format-patch failed