Skip to content

Commit

Permalink
Updated makefile to set SHELL
Browse files Browse the repository at this point in the history
Signed-off-by: Sashank Agarwal <sashankagarwal97@gmail.com>
  • Loading branch information
sasagarw committed Jul 12, 2022
1 parent a12e1ed commit 098271e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ KUBEBUILDER_ARCH ?= amd64

LOCAL ?= true

# Setting SHELL to bash allows bash commands to be executed by recipes.
# This is a requirement for 'setup-envtest.sh' in the test target.
# Options are set to exit when a recipe line exits non-zero or a piped command fails.
SHELL = /usr/bin/env bash -o pipefail
.SHELLFLAGS = -ec

export GO111MODULE = on

all: manager
Expand Down

0 comments on commit 098271e

Please sign in to comment.