From 14b0792bf783b3f2f33e8df8aba3cc7e4405a3f3 Mon Sep 17 00:00:00 2001 From: Alyx Date: Mon, 27 May 2019 04:45:38 -0500 Subject: [PATCH] Update shebangs for environmentally finding Bash -- Compatibility update to provide support for platforms that do not ship Bash in their /bin (#2841) --- .presubmit/context | 2 +- .presubmit/filename-hyphen | 2 +- .presubmit/import-testing | 2 +- .presubmit/test-lowercase | 2 +- .presubmit/trailing-whitespace | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.presubmit/context b/.presubmit/context index b7d6ef971..520f09c6b 100755 --- a/.presubmit/context +++ b/.presubmit/context @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash echo "** presubmit/$(basename $0)" diff --git a/.presubmit/filename-hyphen b/.presubmit/filename-hyphen index e08f2b16e..de66a06c7 100755 --- a/.presubmit/filename-hyphen +++ b/.presubmit/filename-hyphen @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash echo "** presubmit/$(basename $0)" diff --git a/.presubmit/import-testing b/.presubmit/import-testing index 42d00bcfc..ad33bda90 100755 --- a/.presubmit/import-testing +++ b/.presubmit/import-testing @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash echo "** presubmit/$(basename $0)" diff --git a/.presubmit/test-lowercase b/.presubmit/test-lowercase index 705228886..8eaadb514 100755 --- a/.presubmit/test-lowercase +++ b/.presubmit/test-lowercase @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash echo "** presubmit/$(basename $0)" diff --git a/.presubmit/trailing-whitespace b/.presubmit/trailing-whitespace index 3a7993908..05e270c8c 100755 --- a/.presubmit/trailing-whitespace +++ b/.presubmit/trailing-whitespace @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash echo "** presubmit/$(basename $0)"