Skip to content

Commit

Permalink
chore: use current directory as HOME if HOME is not set
Browse files Browse the repository at this point in the history
We have issue with GOPATH if no HOME env is set.
To fix this we want to make the current directory as our new home.

Signed-off-by: Tobias Giese <[email protected]>
Co-authored-by: Andrea Panattoni <[email protected]>
  • Loading branch information
tobiasgiese and zeeke committed Jul 22, 2024
1 parent faf1ec2 commit e0fb813
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ WEBHOOK_IMAGE_TAG?=$(IMAGE_REPO)/$(APP_NAME)-webhook:latest
MAIN_PKG=cmd/manager/main.go
export NAMESPACE?=openshift-sriov-network-operator
export WATCH_NAMESPACE?=openshift-sriov-network-operator
export HOME?=$(PWD)
export GO111MODULE=on
PKGS=$(shell go list ./... | grep -v -E '/vendor/|/test|/examples')
TESTPKGS?=./...
Expand Down

0 comments on commit e0fb813

Please sign in to comment.