projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
scripts/config: fix variable substitution command
[linux-2.6-microblaze.git]
/
scripts
/
config
diff --git
a/scripts/config
b/scripts/config
index
2283be2
..
6804179
100755
(executable)
--- 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"
}