Skip to content

Commit

Permalink
build: Don't read MODULEPATH from environment
Browse files Browse the repository at this point in the history
The Makefile uses a variable named MODULEPATH for the name of the crc go
module. It currently can be overridden with an env var, but I don't
think this was ever tested, and this causes issues as some recent fedora
package sets MODULEPATH in the env.

This commit drops the environment override for MODULEPATH.
This should fix #3865
  • Loading branch information
cfergeau committed Oct 16, 2023
1 parent c9b8ad7 commit 14e51ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ GOARCH ?= $(shell go env GOARCH)
HOST_BUILD_DIR=$(BUILD_DIR)/$(GOOS)-$(GOARCH)
GOPATH ?= $(shell go env GOPATH)
ORG := github.com/crc-org
MODULEPATH ?= $(ORG)/crc/v2
MODULEPATH = $(ORG)/crc/v2
PACKAGE_DIR := packaging/$(GOOS)

SOURCES := $(shell git ls-files *.go ":^vendor")
Expand Down

0 comments on commit 14e51ca

Please sign in to comment.