summaryrefslogtreecommitdiff
path: root/scripts/mreplace.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/mreplace.sh')
-rwxr-xr-xscripts/mreplace.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/mreplace.sh b/scripts/mreplace.sh
index 1ef5cc4..32f2c17 100755
--- a/scripts/mreplace.sh
+++ b/scripts/mreplace.sh
@@ -5,8 +5,7 @@ do
for i in `find . -name "*.$j"`
do
echo $i
- sed "s/$1/$2/g" $i > temp
- mv -f temp $i
+ sed -i "s/$1/$2/g" $i > temp
done
done