summaryrefslogtreecommitdiffstats
path: root/src/glsl/glcpp/tests/glcpp-test
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/glcpp/tests/glcpp-test')
-rwxr-xr-xsrc/glsl/glcpp/tests/glcpp-test2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/glcpp/tests/glcpp-test b/src/glsl/glcpp/tests/glcpp-test
index 9bf7bdb7c45..640f57684ff 100755
--- a/src/glsl/glcpp/tests/glcpp-test
+++ b/src/glsl/glcpp/tests/glcpp-test
@@ -28,7 +28,7 @@ test_specific_args ()
{
test="$1"
- grep 'glcpp-args:' "$test" | sed -e 's,^.*glcpp-args: *,,'
+ tr "\r" "\n" < "$test" | grep 'glcpp-args:' | sed -e 's,^.*glcpp-args: *,,'
}
# Parse command-line options