Skip to content

Commit 6717aee

Browse files
Merge pull request #324 from cert-manager/ps1_fix
Set PS1="" to prevent "/etc/bash.bashrc: line 7: PS1: unbound variable\n/etc/bash.bashrc" warning
2 parents 96603da + 2ad6e80 commit 6717aee

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121

2222
###################################################################################
2323

24-
# Some modules build their dependencies from variables, we want these to be
25-
# evaluated at the last possible moment. For this we use second expansion to
24+
# Some modules build their dependencies from variables, we want these to be
25+
# evaluated at the last possible moment. For this we use second expansion to
2626
# re-evaluate the generate and verify targets a second time.
2727
#
2828
# See https://www.gnu.org/software/make/manual/html_node/Secondary-Expansion.html
@@ -31,7 +31,7 @@
3131
# For details on some of these "prelude" settings, see:
3232
# https://clarkgrubb.com/makefile-style-guide
3333
MAKEFLAGS += --warn-undefined-variables --no-builtin-rules
34-
SHELL := /usr/bin/env bash
34+
SHELL := /usr/bin/env PS1="" bash
3535
.SHELLFLAGS := -uo pipefail -c
3636
.DEFAULT_GOAL := help
3737
.DELETE_ON_ERROR:

modules/repository-base/base/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
# For details on some of these "prelude" settings, see:
4040
# https://clarkgrubb.com/makefile-style-guide
4141
MAKEFLAGS += --warn-undefined-variables --no-builtin-rules
42-
SHELL := /usr/bin/env bash
42+
SHELL := /usr/bin/env PS1="" bash
4343
.SHELLFLAGS := -uo pipefail -c
4444
.DEFAULT_GOAL := help
4545
.DELETE_ON_ERROR:

0 commit comments

Comments
 (0)