scripts/tests/testversions: fix indentation
Change-Id: Iaa5aec27f0ad78e1d8bf1a68aa5a62762c8ab537
This commit is contained in:
parent
0faf7d5293
commit
746315672f
@ -89,9 +89,7 @@ install_sim(){
|
||||
go build -race -v -o ${bin_dir}/certificates storj.io/storj/cmd/certificates >/dev/null 2>&1
|
||||
|
||||
if [ -d "${work_dir}/cmd/gateway" ]; then
|
||||
pushd ${work_dir}/cmd/gateway
|
||||
go build -race -v -o ${bin_dir}/gateway storj.io/storj/cmd/gateway >/dev/null 2>&1
|
||||
popd
|
||||
(cd ${work_dir}/cmd/gateway && go build -race -v -o ${bin_dir}/gateway storj.io/storj/cmd/gateway >/dev/null 2>&1)
|
||||
else
|
||||
mkdir -p ${work_dir}/build/gateway-tmp
|
||||
(cd ${work_dir}/build/gateway-tmp && go mod init gatewaybuild && GOBIN=${bin_dir} GO111MODULE=on go get storj.io/gateway@latest;)
|
||||
|
Loading…
Reference in New Issue
Block a user