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
This commit is contained in:
commit
183c420323
@ -82,7 +82,7 @@ txt_subst() {
|
|||||||
local infile="$3"
|
local infile="$3"
|
||||||
local tmpfile="$infile.swp"
|
local tmpfile="$infile.swp"
|
||||||
|
|
||||||
sed -e "s/$before/$after/" "$infile" >"$tmpfile"
|
sed -e "s:$before:$after:" "$infile" >"$tmpfile"
|
||||||
# replace original file with the edited one
|
# replace original file with the edited one
|
||||||
mv "$tmpfile" "$infile"
|
mv "$tmpfile" "$infile"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user