Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

scripts/config: fix variable substitution command

Commit 229455bc02b87f7128f190c4491b4ceffff38648 accidentally changed the
separator between sed `s' command and its parameters from ':' to '/'.

Revert this change.

Reported-and-tested-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Clement Chauplannaz <chauplac@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>

authored by

Clement Chauplannaz and committed by
Michal Marek
86eb7818 e0627813

+1 -1
+1 -1
scripts/config
··· 82 82 local infile="$3" 83 83 local tmpfile="$infile.swp" 84 84 85 - sed -e "s/$before/$after/" "$infile" >"$tmpfile" 85 + sed -e "s:$before:$after:" "$infile" >"$tmpfile" 86 86 # replace original file with the edited one 87 87 mv "$tmpfile" "$infile" 88 88 }