Skip to content

Commit 74733e8

Browse files
vdemeesterknative-prow-robot
authored andcommitted
Use /usr/bin/env bash instead of /bin/bash (knative#2120)
Some systems may not have /bin/bash (NixOS for example)… Using /usr/bin/env bash has the benefit of looking for whatever the default version of the program is in your current environment. Signed-off-by: Vincent Demeester <[email protected]>
1 parent 76500a6 commit 74733e8

11 files changed

+11
-11
lines changed

hack/deploy.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# Copyright 2018 The Knative Authors
44
#

hack/release.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# Copyright 2018 The Knative Authors
44
#

hack/update-codegen.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# Copyright 2018 The Knative Authors
44
#

hack/update-deps.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# Copyright 2018 The Knative Authors
44
#

hack/verify-codegen.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# Copyright 2018 The Knative Authors
44
#

test/cluster.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# Copyright 2018 The Knative Authors
44
#

test/e2e-tests.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# Copyright 2018 The Knative Authors
44
#

test/performance-tests.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# Copyright 2018 The Knative Authors
44
#

test/performance/observed-concurrency/run.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# Copyright 2018 The Knative Authors
44
#

test/presubmit-tests.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# Copyright 2018 The Knative Authors
44
#

test/upload-test-images.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
#
33
# Copyright 2018 The Knative Authors
44
#

0 commit comments

Comments
 (0)