mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 12:08:18 +00:00
[TravisCI] Try to fix case in run_quiet
where the script would fail
with. ``` -ne: unary operator expected ```
This commit is contained in:
parent
ad2a0a0085
commit
ecadef6e48
|
@ -34,8 +34,8 @@ function run_quiet() {
|
||||||
fi
|
fi
|
||||||
# Clean up
|
# Clean up
|
||||||
rm "${STDOUT}" "${STDERR}"
|
rm "${STDOUT}" "${STDERR}"
|
||||||
[ $( echo "${OLD_SETTINGS}" | grep -c 'e') -ne 0 ] && set -e
|
[ "$( echo "${OLD_SETTINGS}" | grep -c 'e')" != "0" ] && set -e
|
||||||
[ $( echo "${OLD_SETTINGS}" | grep -c 'x') -ne 0 ] && set -x
|
[ "$( echo "${OLD_SETTINGS}" | grep -c 'x')" != "0" ] && set -x
|
||||||
return ${EXIT_STATUS}
|
return ${EXIT_STATUS}
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue