Merge lp:~kelvin.liu/juju-release-tools/packaging-juju2-default into lp:~juju-qa/juju-release-tools/packaging-juju2-default

Proposed by Yang Kelvin Liu
Status: Merged
Approved by: Joseph Phillips
Approved revision: 227
Merged at revision: 227
Proposed branch: lp:~kelvin.liu/juju-release-tools/packaging-juju2-default
Merge into: lp:~juju-qa/juju-release-tools/packaging-juju2-default
Diff against target: 11 lines (+1/-1)
1 file modified
debian/rules (+1/-1)
To merge this branch: bzr merge lp:~kelvin.liu/juju-release-tools/packaging-juju2-default
Reviewer Review Type Date Requested Status
Joseph Phillips Approve
Review via email: mp+380612@code.launchpad.net

Commit message

fixing the empty golang path issue:

/usr/lib//bin:/usr/lib//bin

Description of the change

fixing the empty golang path issue:

/usr/lib//bin:/usr/lib//bin

To post a comment you must log in.
Revision history for this message
Joseph Phillips (manadart) wrote :

Thanks.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/rules'
2--- debian/rules 2020-02-28 10:53:43 +0000
3+++ debian/rules 2020-03-12 06:13:42 +0000
4@@ -8,7 +8,7 @@
5 export GOPATH := $(CURDIR)/$(BUILDPATH)
6
7 # Ensure installed go binaries, and "golang-1.*-go" are in the PATH.
8-GO_BIN_PATHS:=$(shell ls /usr/lib | grep go | awk '{print "/usr/lib/"$1"/bin"}' | paste -sd ':' -)
9+GO_BIN_PATHS:=$(shell ls /usr/lib | grep go | awk '{print "/usr/lib/"$$1"/bin"}' | paste -sd ':' -)
10 export PATH:=$(GOPATH)/bin:$(GO_BIN_PATHS):$(PATH)
11 export USE_EMBEDDED := true
12

Subscribers

People subscribed via source and target branches