Merge pull request #125009 from BenTheElder/make-branch
define BRANCH to silence undefined variable warning
This commit is contained in:
		@@ -33,10 +33,12 @@ endif
 | 
				
			|||||||
SHELL := /usr/bin/env bash -o errexit -o pipefail -o nounset
 | 
					SHELL := /usr/bin/env bash -o errexit -o pipefail -o nounset
 | 
				
			||||||
BASH_ENV := ./hack/lib/logging.sh
 | 
					BASH_ENV := ./hack/lib/logging.sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Define variables so `make --warn-undefined-variables` works.
 | 
					# Define optional user-input variables so `make --warn-undefined-variables` works.
 | 
				
			||||||
 | 
					# Usage is described below with each target that respects these
 | 
				
			||||||
PRINT_HELP ?=
 | 
					PRINT_HELP ?=
 | 
				
			||||||
WHAT ?=
 | 
					WHAT ?=
 | 
				
			||||||
TESTS ?=
 | 
					TESTS ?=
 | 
				
			||||||
 | 
					BRANCH ?=
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# We don't need make's built-in rules.
 | 
					# We don't need make's built-in rules.
 | 
				
			||||||
MAKEFLAGS += --no-builtin-rules
 | 
					MAKEFLAGS += --no-builtin-rules
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user