commit | 968ddc91fab2f0c5d674362ff9e638ea3ca54679 | [log] [tgz] |
---|---|---|
author | Ben Laurie <ben@links.org> | Tue Sep 30 17:48:59 2014 +0100 |
committer | Adam Langley <agl@google.com> | Tue Sep 30 20:03:07 2014 +0000 |
tree | 48456bbfb3f2e806ecf9094477db55eb4645e97e | |
parent | 5491e3fdb71b8c708e1b8d79ac9d5ba1b15b6860 [diff] |
Not everyone keeps bash in /bin. Change-Id: I1960549aeeb984a16144a3d86b987dfdedcf0125 Reviewed-on: https://boringssl-review.googlesource.com/1853 Reviewed-by: Adam Langley <agl@google.com>
diff --git a/util/all_tests.sh b/util/all_tests.sh index e4f3126..de6800f 100644 --- a/util/all_tests.sh +++ b/util/all_tests.sh
@@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright (c) 2014, Google Inc. # @@ -54,7 +54,7 @@ IFS=$'\n' for bin in $TESTS; do echo $bin - out=$(/bin/bash -c "$bin" | tail -n 1) + out=$(bash -c "$bin" | tail -n 1) if [ $? -ne 0 ]; then echo $bin failed to complete. exit 1