Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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"
}