---
 Sorry about this.

 debian/changelog                           | 6 ++++++
 lib/Debian/Debhelper/Buildsystem/golang.pm | 1 +
 2 files changed, 7 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index e9dba09..dcd21e5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+dh-golang (1.15) UNRELEASED; urgency=medium
+
+  * Restore setting of GOPATH during build removed by mistake in 1.14.
+
+ -- Michael Hudson-Doyle <michael.hud...@ubuntu.com>  Fri, 15 Apr 2016 
09:31:13 +1200
+
 dh-golang (1.14) unstable; urgency=medium
 
   [ Michael Hudson-Doyle ]
diff --git a/lib/Debian/Debhelper/Buildsystem/golang.pm 
b/lib/Debian/Debhelper/Buildsystem/golang.pm
index fbdf510..4d73d99 100644
--- a/lib/Debian/Debhelper/Buildsystem/golang.pm
+++ b/lib/Debian/Debhelper/Buildsystem/golang.pm
@@ -161,6 +161,7 @@ sub get_targets {
 sub build {
     my $this = shift;
 
+    $this->_set_gopath();
     if (exists($ENV{DH_GOLANG_GO_GENERATE}) && $ENV{DH_GOLANG_GO_GENERATE} == 
1) {
         $this->doit_in_builddir("go", "generate", "-v", @_, get_targets());
     }
-- 
2.5.0

Reply via email to