Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Commit

Permalink
Adds '/usr/bin/env bash' for portability
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel R Cooklin committed Feb 14, 2017
1 parent b08312d commit a57fd48
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion scripts/build_plugin.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -e
#!/usr/bin/env bash

#http://www.apache.org/licenses/LICENSE-2.0.txt
#
Expand Down
2 changes: 1 addition & 1 deletion scripts/build_plugins.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

#http://www.apache.org/licenses/LICENSE-2.0.txt
#
Expand Down
2 changes: 1 addition & 1 deletion scripts/build_snap.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

#http://www.apache.org/licenses/LICENSE-2.0.txt
#
Expand Down
2 changes: 1 addition & 1 deletion scripts/common.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -e
set -u
Expand Down
2 changes: 1 addition & 1 deletion scripts/deps.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

#http://www.apache.org/licenses/LICENSE-2.0.txt
#
Expand Down
4 changes: 3 additions & 1 deletion scripts/gen-proto.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -e
#!/usr/bin/env bash

#http://www.apache.org/licenses/LICENSE-2.0.txt
#
Expand All @@ -17,6 +17,8 @@
#See the License for the specific language governing permissions and
#limitations under the License.

set -e

echo "Checking for proto"
if ! which protoc > /dev/null
then
Expand Down
2 changes: 1 addition & 1 deletion scripts/pre_deploy.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# File managed by pluginsync

# http://www.apache.org/licenses/LICENSE-2.0.txt
Expand Down
2 changes: 1 addition & 1 deletion scripts/run_tests_with_docker.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -e
#!/usr/bin/env bash

#http://www.apache.org/licenses/LICENSE-2.0.txt
#
Expand Down
2 changes: 1 addition & 1 deletion scripts/test.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

#http://www.apache.org/licenses/LICENSE-2.0.txt
#
Expand Down

0 comments on commit a57fd48

Please sign in to comment.