Skip to content

Commit b05d85a

Browse files
landleyLinus Torvalds
authored andcommitted
[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>
1 parent 6aec307 commit b05d85a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎arch/um/kernel/Makefile‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ quiet_cmd_quote2 = QUOTE $@
5353
cmd_quote2 = sed -e '/CONFIG/{' \
5454
-e 's/"CONFIG"\;/""/' \
5555
-e 'r $(obj)/config.tmp' \
56-
-e 'a""\;' \
56+
-e 'a \' \
57+
-e '""\;' \
5758
-e '}' \
5859
$< > $@

0 commit comments

Comments
 (0)