diff options
Diffstat (limited to 'src/compiler/glsl/tests/optimization-test.sh')
-rwxr-xr-x | src/compiler/glsl/tests/optimization-test.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/glsl/tests/optimization-test.sh b/src/compiler/glsl/tests/optimization-test.sh index 9cc3cae3a35..dc9740f69f4 100755 --- a/src/compiler/glsl/tests/optimization-test.sh +++ b/src/compiler/glsl/tests/optimization-test.sh @@ -1,4 +1,4 @@ -#!/usr/bin/env bash +#!/bin/sh if [ ! -z "$srcdir" ]; then compare_ir=`pwd`/tests/compare_ir.py @@ -35,7 +35,7 @@ echo "" echo "$pass/$total tests returned correct results" echo "" -if [[ $pass == $total ]]; then +if [ $pass = $total ]; then exit 0 else exit 1 |