Skip to content

install: create GOBIN directory if it doesn't exist#840

Open
c-tonneslan wants to merge 1 commit intolivekit:mainfrom
c-tonneslan:fix/install-gobin-mkdir
Open

install: create GOBIN directory if it doesn't exist#840
c-tonneslan wants to merge 1 commit intolivekit:mainfrom
c-tonneslan:fix/install-gobin-mkdir

Conversation

@c-tonneslan
Copy link
Copy Markdown

Fixes #818.

make install fails on fresh environments where GOBIN doesn't exist yet. The cp just errors out immediately. Adding mkdir -p $(GOBIN) before the copy so it works out of the box.

Easy to reproduce: set GOBIN to a path that doesn't exist and run make install.

make install fails on fresh environments if GOBIN doesn't exist yet. Adding mkdir -p before the copy so it just works instead of erroring out.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Install target fails on fresh environment when GOBIN directory does not exist

1 participant