summaryrefslogtreecommitdiff
path: root/debian/patches/workaround-go-cachepath.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/workaround-go-cachepath.patch')
-rw-r--r--debian/patches/workaround-go-cachepath.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/patches/workaround-go-cachepath.patch b/debian/patches/workaround-go-cachepath.patch
new file mode 100644
index 0000000..eed4b32
--- /dev/null
+++ b/debian/patches/workaround-go-cachepath.patch
@@ -0,0 +1,11 @@
+--- rhimportd-0.12.2.orig/Makefile
++++ rhimportd-0.12.2/Makefile
+@@ -23,7 +23,7 @@
+ ##
+
+ curdir:= $(shell pwd)
+-GOCMD := GOPATH=$(curdir) go
++GOCMD := env "GOPATH=$(curdir)" "GOCACHE=/tmp/.gocache" go
+
+ EXECUTEABLE := rhimportd
+