summaryrefslogtreecommitdiff
path: root/replace.sh
diff options
context:
space:
mode:
authorpikalaxalt <PikalaxALT@gmail.com>2016-05-22 21:05:51 -0400
committerpikalaxalt <PikalaxALT@gmail.com>2016-05-22 21:05:51 -0400
commit980ce8005df3ff2c2d008f3fe2c36ed357b2a2cb (patch)
tree745646bc2baccb60da67d83e3428f4d62cd923c3 /replace.sh
parent106251da1f1412dbca66db8c0e0fe7fe9eb63968 (diff)
parentf3de3a20dfccb8a57cdf9feb860bf1e89a733f50 (diff)
Merge branch 'master' of github.com:pret/pokeyellow
Diffstat (limited to 'replace.sh')
-rw-r--r--replace.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/replace.sh b/replace.sh
index 49badda1..a4688225 100644
--- a/replace.sh
+++ b/replace.sh
@@ -1,3 +1,3 @@
-sed -i 's/\<'$1'\>/'$2'/' $(git grep -l $1 -- "*.asm")
+sed -i 's/\<'$1'\>/'$2'/' $(grep -lwr --include "*.asm" $1)
# $1: phrase to find
# $2: phrase to replace $1 \ No newline at end of file