diff options
author | Rob Landley <rob@landley.net> | 2005-05-01 08:58:54 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-01 08:58:54 -0700 |
commit | b05d85a87d9711f5f5f2eb05c79038d5d5ff1f44 (patch) | |
tree | e2967e71c536de5085a31ad0aa761e25e6d7b382 /arch/um/kernel/Makefile | |
parent | 6aec3072833283a5e2ecf07318bd383a67321657 (diff) | |
download | linux-stable-b05d85a87d9711f5f5f2eb05c79038d5d5ff1f44.tar.gz linux-stable-b05d85a87d9711f5f5f2eb05c79038d5d5ff1f44.tar.bz2 linux-stable-b05d85a87d9711f5f5f2eb05c79038d5d5ff1f44.zip |
[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: Rob Landley <rob@landley.net>
Acked-by: Ian McDonald <imcdnzl@gmail.com>
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/um/kernel/Makefile')
-rw-r--r-- | arch/um/kernel/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/um/kernel/Makefile b/arch/um/kernel/Makefile index dc796c1bf39e..280d3000111b 100644 --- a/arch/um/kernel/Makefile +++ b/arch/um/kernel/Makefile @@ -53,6 +53,7 @@ quiet_cmd_quote2 = QUOTE $@ cmd_quote2 = sed -e '/CONFIG/{' \ -e 's/"CONFIG"\;/""/' \ -e 'r $(obj)/config.tmp' \ - -e 'a""\;' \ + -e 'a \' \ + -e '""\;' \ -e '}' \ $< > $@ |