summaryrefslogtreecommitdiff
path: root/replace.sh
diff options
context:
space:
mode:
authorluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-11-18 19:24:53 -0500
committerluckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com>2018-11-18 19:24:53 -0500
commitc5b2436daadbae47d6251052d62436afbaa91158 (patch)
tree5671f8d0e7368b736c8e85bdae277bf9eee09b40 /replace.sh
parent080bba1bd5ebca74eb155a21afa62b68400e4b93 (diff)
Rename spritestatedata structs.
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