aboutsummaryrefslogtreecommitdiffstats
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
parentengine/printer.asm (diff)
parentBank11 and 14 misc functions. (diff)
downloadpokeyellow-980ce8005df3ff2c2d008f3fe2c36ed357b2a2cb.tar.gz
pokeyellow-980ce8005df3ff2c2d008f3fe2c36ed357b2a2cb.tar.xz
pokeyellow-980ce8005df3ff2c2d008f3fe2c36ed357b2a2cb.zip
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