summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorClement Chauplannaz <chauplac@gmail.com>2013-09-13 10:45:13 +0200
committerMichal Marek <mmarek@suse.cz>2013-09-13 13:06:59 +0200
commit86eb781889ec31f6421b86ab252ea609d456322d (patch)
tree43d3db377285240996dc91ca12469b1c304bb2d9 /scripts
parente062781397e5bebc6c1b8dd4bf466136e13ae4c5 (diff)
downloadblackbird-op-linux-86eb781889ec31f6421b86ab252ea609d456322d.tar.gz
blackbird-op-linux-86eb781889ec31f6421b86ab252ea609d456322d.zip
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>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/config2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/config b/scripts/config
index 2283be2bb62c..68041793698c 100755
--- a/scripts/config
+++ b/scripts/config
@@ -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"
}
OpenPOWER on IntegriCloud