mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 18:31:15 +00:00
Merge pull request #108661 from thockin/makefile-pass-SHELL
Makefile: Pass SHELL to sub-make
This commit is contained in:
commit
45f2c63d6a
@ -525,7 +525,7 @@ generated_files:
|
||||
echo "$$GENERATED_FILES_HELP_INFO"
|
||||
else
|
||||
generated_files gen_openapi:
|
||||
$(MAKE) -f Makefile.generated_files $@ CALLED_FROM_MAIN_MAKEFILE=1
|
||||
$(MAKE) -f Makefile.generated_files $@ CALLED_FROM_MAIN_MAKEFILE=1 SHELL="$(SHELL)"
|
||||
endif
|
||||
|
||||
define HELP_INFO
|
||||
|
@ -33,9 +33,6 @@ ifeq ($(DBG_MAKEFILE),1)
|
||||
endif
|
||||
|
||||
|
||||
# It's necessary to set this because some environments don't link sh -> bash.
|
||||
SHELL := /usr/bin/env bash
|
||||
|
||||
# Define variables so `make --warn-undefined-variables` works.
|
||||
DBG_CODEGEN ?=
|
||||
UPDATE_API_KNOWN_VIOLATIONS ?=
|
||||
|
Loading…
Reference in New Issue
Block a user