Skip to content

Commit

Permalink
tools: fix envtest setup for compat tests
Browse files Browse the repository at this point in the history
Signed-off-by: Moritz Wanzenböck <[email protected]>
  • Loading branch information
WanzenBug committed Dec 2, 2024
1 parent 57ef7e8 commit 488b71f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,9 @@ set -e; \
package=$(2)@$(3) ;\
echo "Downloading $${package}" ;\
rm -f $(1) || true ;\
GOBIN=$(LOCALBIN) go install $${package} ;\
mv $(1) $(1)-$(3) ;\
GOBIN=$(1)-tmp-bin go install $${package} ;\
mv $(1)-tmp-bin/* $(1)-$(3) ;\
rmdir $(1)-tmp-bin ;\
} ;\
ln -sf $(1)-$(3) $(1)
endef
Expand Down

0 comments on commit 488b71f

Please sign in to comment.