From 50bc3a7145e6bc35bec72ae9755bb6119b8accfb Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Fri, 9 Dec 2016 08:58:13 +0100 Subject: [PATCH] Do not assume that bash is installed in /bin (#477) This is required in order to run the tests on *BSD. --- configure | 2 +- fuzz/test_fuzzer.sh | 2 +- tests/compatibility_test.sh | 2 +- tests/roundtrip_test.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configure b/configure index 2bc070c..d9bd3e3 100755 --- a/configure +++ b/configure @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash echo "Use Bazel, CMake or Premake5 to generate projects / build files." echo " Bazel: http://www.bazel.build/" echo " CMake: https://cmake.org/" diff --git a/fuzz/test_fuzzer.sh b/fuzz/test_fuzzer.sh index 46bec26..393482b 100755 --- a/fuzz/test_fuzzer.sh +++ b/fuzz/test_fuzzer.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash BROTLI="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )" diff --git a/tests/compatibility_test.sh b/tests/compatibility_test.sh index d21e14a..c4f8298 100755 --- a/tests/compatibility_test.sh +++ b/tests/compatibility_test.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # # Test that the brotli command-line tool can decompress old brotli-compressed # files. diff --git a/tests/roundtrip_test.sh b/tests/roundtrip_test.sh index c8259c7..6bdfa59 100755 --- a/tests/roundtrip_test.sh +++ b/tests/roundtrip_test.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # # Roundtrip test for the brotli command-line tool.