summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow (pluto.buetow.org) <paul@buetow.org>2013-09-07 15:25:30 +0200
committerPaul Buetow (pluto.buetow.org) <paul@buetow.org>2013-09-07 15:25:30 +0200
commitf7e49d8f7e7d4b68e44fe8b29baa57921893bf96 (patch)
tree7b0c837edcbcd56dc1a8dbb93c04c6fdb1e7f9d0
parent000ef5277dbb4cd12959d59530cdc1fd1182d959 (diff)
enhance replace.sh
-rwxr-xr-xscripts/replace.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/replace.sh b/scripts/replace.sh
index c6f9d4c..3520624 100755
--- a/scripts/replace.sh
+++ b/scripts/replace.sh
@@ -1,6 +1,3 @@
#!/bin/sh
-sed "s/$2/$3/g" $1 > temp
-mv -f temp $1
-
-
+exec sed -i "s/$2/$3/g" $1