Commit b05d85a8 authored by Rob Landley's avatar Rob Landley Committed by Linus Torvalds

[PATCH] uml: workaround old problematic sed behaviour

Old versions of sed from 1998 (predating the first release of gcc 2.95, but
still in use by debian stable) don't understand the single-line version of the
sed append command.  Since newer versions of sed still understand the...
ahem, "vintage" form of the command, change our code to use that.
Signed-off-by: default avatarRob Landley <rob@landley.net>
Acked-by: default avatarIan McDonald <imcdnzl@gmail.com>
Signed-off-by: default avatarPaolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 6aec3072
...@@ -53,6 +53,7 @@ quiet_cmd_quote2 = QUOTE $@ ...@@ -53,6 +53,7 @@ quiet_cmd_quote2 = QUOTE $@
cmd_quote2 = sed -e '/CONFIG/{' \ cmd_quote2 = sed -e '/CONFIG/{' \
-e 's/"CONFIG"\;/""/' \ -e 's/"CONFIG"\;/""/' \
-e 'r $(obj)/config.tmp' \ -e 'r $(obj)/config.tmp' \
-e 'a""\;' \ -e 'a \' \
-e '""\;' \
-e '}' \ -e '}' \
$< > $@ $< > $@
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment