diff --git a/pkg/scaffold/v2/makefile.go b/pkg/scaffold/v2/makefile.go index a3342718629..ba150dd95f6 100644 --- a/pkg/scaffold/v2/makefile.go +++ b/pkg/scaffold/v2/makefile.go @@ -98,7 +98,7 @@ vet: # Generate code generate: controller-gen - $(CONTROLLER_GEN) object:headerFile={{printf "%q" .BoilerplatePath}} paths="./..." + $(CONTROLLER_GEN) object:headerFile=.{{ .BoilerplatePath }} paths="./..." # Build the docker image docker-build: test