summaryrefslogtreecommitdiff
path: root/replace.sh
diff options
context:
space:
mode:
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 a4688225..fe0e1ffb 100644
--- a/replace.sh
+++ b/replace.sh
@@ -1,3 +1,3 @@
-sed -i 's/\<'$1'\>/'$2'/' $(grep -lwr --include "*.asm" $1)
+sed -i 's/\<'$1'\>/'$2'/' $(grep -lwr --include "*.asm" --exclude-dir=".git" --exclude-dir="extras" --exclude-dir="pic" --exclude-dir="gfx" $1)
# $1: phrase to find
# $2: phrase to replace $1 \ No newline at end of file