summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Gall <tom.gall@linaro.org>2013-03-27 12:31:29 -0500
committerTom Gall <tom.gall@linaro.org>2013-03-27 12:31:29 -0500
commiteeccec7b0c965f69603b88a24c1d6c1209a93943 (patch)
tree84326b1b05ca0e44e08be39c5437297965a242b4
parentfd609be56a76f3c26d36cdfd49aa6ec289b5c4cf (diff)
-regex is not support with android's find.
-rwxr-xr-xandroid/scripts/piglit-run-glslparser.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/scripts/piglit-run-glslparser.sh b/android/scripts/piglit-run-glslparser.sh
index 2673291..a536f70 100755
--- a/android/scripts/piglit-run-glslparser.sh
+++ b/android/scripts/piglit-run-glslparser.sh
@@ -4,7 +4,7 @@ set -x
# find and loop over the vert and frag tests found
# looks recursively down the directory tree
-find ${2} -regex ".*\.\(vert\|frag\)" -print0 | while read -d $'\0' file
+find ${2} -name "*.frag" -or -name "*.vert" -print0 | while read -d $'\0' file
do
RESULTEXPECTED=$(grep expect_result ${file} )
case $RESULTEXPECTED in