about summary refs log tree commit diff stats
path: root/tools/scripts/replace.sh
diff options
context:
space:
mode:
authorSilvino Silva <silvino@bk.ru>2018-07-16 15:32:41 +0100
committerSilvino Silva <silvino@bk.ru>2018-07-16 15:32:41 +0100
commit214aa23801332d2120df208f9d9042fd51c5f2d3 (patch)
treeafb5b18f789c68bbf577389ed5268cd2f896e66d /tools/scripts/replace.sh
parentbdea1c23d13c417a00b71654670aed309cfa302a (diff)
downloaddoc-214aa23801332d2120df208f9d9042fd51c5f2d3.tar.gz
dumped new version 0.3.5
Diffstat (limited to 'tools/scripts/replace.sh')
-rwxr-xr-xtools/scripts/replace.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/scripts/replace.sh b/tools/scripts/replace.sh
index e925e7d..8d5d8d9 100755
--- a/tools/scripts/replace.sh
+++ b/tools/scripts/replace.sh
@@ -5,4 +5,5 @@ folder=$1
 oldstring=$2
 newstring=$3
 
-grep -rl $oldstring $folder | xargs sed -i s@$oldstring@$newstring@g
+#grep -rl $oldstring $folder | xargs sed -i s@$oldstring@$newstring@g
+grep -rl "$oldstring" $folder | xargs sed -i "s@$oldstring@$newstring@g"