about summary refs log tree commit diff stats
path: root/tools/scripts/replace.sh
diff options
context:
space:
mode:
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"