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:
parent
5491e3fdb7
commit
968ddc91fa
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user