From eeccec7b0c965f69603b88a24c1d6c1209a93943 Mon Sep 17 00:00:00 2001 From: Tom Gall Date: Wed, 27 Mar 2013 12:31:29 -0500 Subject: -regex is not support with android's find. --- android/scripts/piglit-run-glslparser.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3