Skip to content

Commit 72f355a

Browse files
authored
Merge pull request kubernetes#94036 from saschagrunert/bash
Use /usr/bin/env bash in Makefiles and scripts
2 parents f588ad9 + 975b8d3 commit 72f355a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

build/root/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ endif
3030
# clean: Clean up.
3131

3232
# It's necessary to set this because some environments don't link sh -> bash.
33-
SHELL := /bin/bash
33+
SHELL := /usr/bin/env bash
3434

3535
# We don't need make's built-in rules.
3636
MAKEFLAGS += --no-builtin-rules

build/root/Makefile.generated_files

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ endif
3030

3131

3232
# It's necessary to set this because some environments don't link sh -> bash.
33-
SHELL := /bin/bash
33+
SHELL := /usr/bin/env bash
3434

3535
# This rule collects all the generated file sets into a single rule. Other
3636
# rules should depend on this to ensure generated files are rebuilt.

hack/update-workspace-mirror.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
# Copyright 2018 The Kubernetes Authors.
44
#

0 commit comments

Comments
 (0)