summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Koleszar <jkoleszar@google.com>2012-06-25 10:09:05 -0700
committerJohn Koleszar <jkoleszar@google.com>2012-06-25 10:09:05 -0700
commit4e06b0c602356635f2f0cb97c04a92bd478e63b7 (patch)
tree4376d680608f07348566df21cf53985ad6e4d885
parenta87fb0da5bbe6c7367f8364934b414466625a96f (diff)
downloadlibvpx-4e06b0c602356635f2f0cb97c04a92bd478e63b7.tar
libvpx-4e06b0c602356635f2f0cb97c04a92bd478e63b7.tar.gz
libvpx-4e06b0c602356635f2f0cb97c04a92bd478e63b7.tar.bz2
libvpx-4e06b0c602356635f2f0cb97c04a92bd478e63b7.zip
gen_asm_deps.sh: regex fix
Fixed the quantifier that optionally matches a quote before the filename. This was originally reported in the homebrew project[1]. Note that this fix is different than patch posted there, as there are some platforms that don't have the quote, so it needs to be included in the expression optionally. [1]: https://github.com/mxcl/homebrew/issues/12567#issuecomment-6434000 Change-Id: Ibf2ed93ce169d80932e877f942dc4eeb03867f8b
-rwxr-xr-xbuild/make/gen_asm_deps.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/make/gen_asm_deps.sh b/build/make/gen_asm_deps.sh
index 717f87020..0b4e3aa84 100755
--- a/build/make/gen_asm_deps.sh
+++ b/build/make/gen_asm_deps.sh
@@ -42,7 +42,7 @@ done
[ -n "$srcfile" ] || show_help
sfx=${sfx:-asm}
-includes=$(LC_ALL=C egrep -i "include +\"?+[a-z0-9_/]+\.${sfx}" $srcfile |
+includes=$(LC_ALL=C egrep -i "include +\"?[a-z0-9_/]+\.${sfx}" $srcfile |
perl -p -e "s;.*?([a-z0-9_/]+.${sfx}).*;\1;")
#" restore editor state
for inc in ${includes}; do