fix: drop the relative gopath
Currently, go environment can't premit the relative gopath Closes-Bug: #1979583 Signed-off-by: ChantYuCN <chengde.yu@intel.com> Change-Id: I950184f0311da3e8f36b45e2263dba23c40f6139
This commit is contained in:
parent
c0a8eb4072
commit
db51332122
@ -49,7 +49,7 @@ mkdir -p _build/src/github.com/gophercloud && mv gophercloud-gophercloud _build/
|
||||
%build
|
||||
mkdir -p ./_build/src/
|
||||
ln -s $(pwd) ./_build/src/registry-token-server
|
||||
export GOPATH=$(pwd)/_build:%{gopath}
|
||||
export GOPATH=$(pwd)/_build
|
||||
go env -w GO111MODULE=auto
|
||||
|
||||
cd ./_build/src/registry-token-server
|
||||
|
Loading…
x
Reference in New Issue
Block a user