[packages/atlas-upload-cli: 3/3] fix issue when invoked via builder script

glen glen at pld-linux.org
Tue Apr 21 06:43:42 CEST 2015


commit ba85c2197a01f3ec94a9bd3cf3b87f893553720a
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Apr 21 07:43:12 2015 +0300

    fix issue when invoked via builder script

 atlas-upload-cli.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/atlas-upload-cli.spec b/atlas-upload-cli.spec
index 6859e4b..304c675 100644
--- a/atlas-upload-cli.spec
+++ b/atlas-upload-cli.spec
@@ -38,6 +38,9 @@ deploys.
 #package github.com/mitchellh/ioprogress: cannot download, $GOPATH not set. For more details see: go help gopath
 
 %build
+# these interfere with go download -- the git vars point to .spec repo
+unset GIT_DIR GIT_WORK_TREE
+
 export GOPATH=$(pwd)/vendor
 # make -j1 because https://github.com/hashicorp/atlas-upload-cli/pull/10
 %{__make} -j1
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/atlas-upload-cli.git/commitdiff/ba85c2197a01f3ec94a9bd3cf3b87f893553720a



More information about the pld-cvs-commit mailing list