Commit 86eb7818 authored by Clement Chauplannaz's avatar Clement Chauplannaz Committed by Michal Marek
Browse files

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: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarClement Chauplannaz <chauplac@gmail.com>
Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
parent e0627813
......@@ -82,7 +82,7 @@ txt_subst() {
local infile="$3"
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
mv "$tmpfile" "$infile"
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment