Not everyone keeps bash in /bin.

Change-Id: I1960549aeeb984a16144a3d86b987dfdedcf0125
Reviewed-on: https://boringssl-review.googlesource.com/1853
Reviewed-by: Adam Langley <agl@google.com>
This commit is contained in:
Ben Laurie 2014-09-30 17:48:59 +01:00 committed by Adam Langley
parent 5491e3fdb7
commit 968ddc91fa

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Copyright (c) 2014, Google Inc. # Copyright (c) 2014, Google Inc.
# #
@ -54,7 +54,7 @@ TESTS="
IFS=$'\n' IFS=$'\n'
for bin in $TESTS; do for bin in $TESTS; do
echo $bin echo $bin
out=$(/bin/bash -c "$bin" | tail -n 1) out=$(bash -c "$bin" | tail -n 1)
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
echo $bin failed to complete. echo $bin failed to complete.
exit 1 exit 1