Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix make bootstrap failing to install golangci-lint using GOPATH #538

Merged
merged 1 commit into from
Sep 4, 2021
Merged

Fix make bootstrap failing to install golangci-lint using GOPATH #538

merged 1 commit into from
Sep 4, 2021

Conversation

aaribaud
Copy link
Contributor

@aaribaud aaribaud commented Sep 4, 2021

Fixes #535

Description

To get the Go path, make/common.mk used $(go env GOPATH) which was thus evaluated by Make (wrongly, to an empty string). To get it evaluated (properly) by the shell, the expression must be $$(go env GOPATH).

This PR adds the missing $.

@CLAassistant
Copy link

CLAassistant commented Sep 4, 2021

CLA assistant check
All committers have signed the CLA.

@github-actions github-actions bot added the needs triage Waiting for discussion / prioritization by team label Sep 4, 2021
@dopey dopey self-requested a review September 4, 2021 21:47
Copy link
Contributor

@dopey dopey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@dopey dopey merged commit 6650e02 into smallstep:master Sep 4, 2021
@aaribaud aaribaud deleted the fix-makefile-gopath-evaluation branch September 4, 2021 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage Waiting for discussion / prioritization by team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

When building step cli locally, make bootstrap tries to install golangci-lint in /bin/ (and fails)
3 participants