summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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