Skip to content

Added GOPATH var in Makefile #288

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

Merged
merged 3 commits into from
Feb 18, 2016
Merged

Added GOPATH var in Makefile #288

merged 3 commits into from
Feb 18, 2016

Conversation

karamsivia
Copy link

Changed /opt/gopath to $(GOPATH) in Makefile

@shaleman
Copy link
Contributor

@karamsivia Thanks for submitting the patch.

Some of the changes here will pick up the $GOPATH variable from outside the vagrant VMs and try to access the directory inside the vagrant VMs. Jenkins sanity failed for the same reason.
Can you please keep only this change and remove the other changes in your patch?

run-build: deps checks clean
    cd ${GOPATH}/src/github.com/contiv/netplugin && version/generate_version ${USE_RELEASE} && \
 -  cd /opt/gopath/src/github.com/contiv/netplugin && \
 +  cd $(GOPATH)/src/github.com/contiv/netplugin && \
    godep go install -v $(TO_BUILD) && \
    sudo cp contrib/completion/bash/netctl /etc/bash_completion.d/netctl

@karamsivia
Copy link
Author

Sukhesh,

I made the change to my repo. Do I need to submit another pull request?

-Karam

On Wed, Feb 17, 2016 at 12:40 PM, Sukhesh Halemane <[email protected]

wrote:

@karamsivia https://github.com/karamsivia Thanks for submitting the
patch.

Some of the changes here will pick up the $GOPATH variable from outside
the vagrant VMs and try to access the directory inside the vagrant VMs.
Jenkins sanity failed for the same reason.
Can you please keep only this change and remove the other changes in your
patch?

run-build: deps checks clean
cd ${GOPATH}/src/github.com/contiv/netplugin && version/generate_version ${USE_RELEASE} && \

  • cd /opt/gopath/src/github.com/contiv/netplugin && \
  • cd $(GOPATH)/src/github.com/contiv/netplugin &&
    godep go install -v $(TO_BUILD) &&
    sudo cp contrib/completion/bash/netctl /etc/bash_completion.d/netctl


Reply to this email directly or view it on GitHub
#288 (comment).

@shaleman
Copy link
Contributor

Thanks @karamsivia.
Update is already pushed to the PR and sanity is running.
I'll merge it once sanity passes..

shaleman added a commit that referenced this pull request Feb 18, 2016
Added GOPATH var in Makefile
@shaleman shaleman merged commit 0c152e0 into contiv:master Feb 18, 2016
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.

2 participants