]> git.pld-linux.org Git - packages/git-lfs.git/commitdiff
do not get affected from env from rpmbuild runs
authorElan Ruusamäe <glen@delfi.ee>
Thu, 7 Apr 2016 08:22:49 +0000 (11:22 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 7 Apr 2016 08:22:49 +0000 (11:22 +0300)
git-lfs.spec

index 394af7a68dd53b4601d430c7a0d408a760b6ca33..0a4493b80ee01b4a923c628c23ae35141985d1e0 100644 (file)
@@ -33,6 +33,7 @@ mkdir -p src/github.com/github
 ln -s $(pwd) src/github.com/github/%{name}
 
 %build
+unset GOROOT
 export GOPATH=$(pwd)
 %ifarch %{ix86}
        GOARCH=386 ./script/bootstrap
@@ -47,7 +48,7 @@ export GOPATH=$(pwd)
 
 %if %{with tests}
 # ensure there are no GIT env vars for testing
-unset GIT_DIR GIT_WORK_TREE
+#unset GIT_DIR GIT_WORK_TREE
 env | grep GIT_ && exit 3
 
 ./script/test
This page took 0.028993 seconds and 4 git commands to generate.