Skip to content

Commit e675e0d

Browse files
committed
hack: switch to /usr/bin/env bash
There are systems which do not have `/bin/bash` available. We now switch to `/usr/bin/env bash` To support those development machines, too. Signed-off-by: Sascha Grunert <[email protected]>
1 parent 8691c30 commit e675e0d

27 files changed

+27
-27
lines changed

hack/golangci-lint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
source "$(dirname "${BASH_SOURCE}")/lib/init.sh"
44

hack/lib/init.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# This script is meant to be the entrypoint for OpenShift Bash scripts to import all of the support
44
# libraries at once in order to make Bash script preambles as minimal as possible. This script recur-

hack/update-codegen-crds.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
source "$(dirname "${BASH_SOURCE}")/lib/init.sh"
44

hack/update-codegen.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
source "$(dirname "${BASH_SOURCE}")/lib/init.sh"
44

hack/update-compatibility.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
source "$(dirname "${BASH_SOURCE}")/lib/init.sh"
44

hack/update-deepcopy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
source "$(dirname "${BASH_SOURCE}")/lib/init.sh"
44

hack/update-openapi.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
source "$(dirname "${BASH_SOURCE}")/lib/init.sh"
44

hack/update-payload-crds.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
source "$(dirname "${BASH_SOURCE}")/lib/init.sh"
44

hack/update-payload-featuregates.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
source "$(dirname "${BASH_SOURCE}")/lib/init.sh"
44

hack/update-prerelease-lifecycle-gen.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
source "$(dirname "${BASH_SOURCE}")/lib/init.sh"
44

0 commit comments

Comments
 (0)