From: Clement Chauplannaz Date: Sat, 13 Jul 2013 14:36:56 +0000 (+0200) Subject: scripts/config: use sed's POSIX interface X-Git-Tag: v3.12-rc1~57^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83e8b90e1d2cc5ff5d2443f2486c2d786a4997ce;p=pandora-kernel.git 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-diff-tree failed