Skip to content

Commit

Permalink
Merge pull request kubernetes#94036 from saschagrunert/bash
Browse files Browse the repository at this point in the history
Use /usr/bin/env bash in Makefiles and scripts
  • Loading branch information
k8s-ci-robot authored Aug 27, 2020
2 parents f588ad9 + 975b8d3 commit 72f355a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build/root/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion build/root/Makefile.generated_files
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion hack/update-workspace-mirror.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# Copyright 2018 The Kubernetes Authors.
#
Expand Down

0 comments on commit 72f355a

Please sign in to comment.