diff --git a/build/root/Makefile b/build/root/Makefile index 41ed3781108..a392aef3248 100644 --- a/build/root/Makefile +++ b/build/root/Makefile @@ -30,7 +30,7 @@ endif # clean: Clean up. # It's necessary to set this because some environments don't link sh -> bash. -SHELL := /bin/bash +SHELL := /usr/bin/env bash # We don't need make's built-in rules. MAKEFLAGS += --no-builtin-rules diff --git a/build/root/Makefile.generated_files b/build/root/Makefile.generated_files index 1d5797f4e05..e40448f2428 100644 --- a/build/root/Makefile.generated_files +++ b/build/root/Makefile.generated_files @@ -30,7 +30,7 @@ endif # It's necessary to set this because some environments don't link sh -> bash. -SHELL := /bin/bash +SHELL := /usr/bin/env bash # This rule collects all the generated file sets into a single rule. Other # rules should depend on this to ensure generated files are rebuilt. diff --git a/hack/update-workspace-mirror.sh b/hack/update-workspace-mirror.sh index c4ff61707c1..59d3b90ac58 100755 --- a/hack/update-workspace-mirror.sh +++ b/hack/update-workspace-mirror.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright 2018 The Kubernetes Authors. #