diff options
Diffstat (limited to 'tools/scripts/replace.sh')
-rwxr-xr-x | tools/scripts/replace.sh | 3 |
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" |