Skip to content

Commit 183c420

Browse files
committed
Merge branch 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
Pull kconfig fix from Michal Marek: "This is a fix for a regression caused by my previous pull request. A sed command in scripts/config that used colons as separator was accidentally changed to use slashes, which fails when you use slashes in a value. Changing it back to colons is of course not a proper fix, but at least it will be broken in the same way it had been for four years. A proper fix is pending" * 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild: scripts/config: fix variable substitution command
2 parents 951a730 + 86eb781 commit 183c420

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ txt_subst() {
8282
local infile="$3"
8383
local tmpfile="$infile.swp"
8484

85-
sed -e "s/$before/$after/" "$infile" >"$tmpfile"
85+
sed -e "s:$before:$after:" "$infile" >"$tmpfile"
8686
# replace original file with the edited one
8787
mv "$tmpfile" "$infile"
8888
}

0 commit comments

Comments
 (0)