diff options
author | Tom Gall <tom.gall@linaro.org> | 2013-03-27 12:31:29 -0500 |
---|---|---|
committer | Tom Gall <tom.gall@linaro.org> | 2013-03-27 12:31:29 -0500 |
commit | eeccec7b0c965f69603b88a24c1d6c1209a93943 (patch) | |
tree | 84326b1b05ca0e44e08be39c5437297965a242b4 | |
parent | fd609be56a76f3c26d36cdfd49aa6ec289b5c4cf (diff) |
-regex is not support with android's find.
-rwxr-xr-x | android/scripts/piglit-run-glslparser.sh | 2 |
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 |