Skip to content
Snippets Groups Projects
Unverified Commit 8819c946 authored by Jean de Klerk's avatar Jean de Klerk Committed by GitHub
Browse files

remove -q from git clone (#133)

This makes it easier to reason about what this script is doing.
parent eef12c79
No related branches found
No related tags found
No related merge requests found
...@@ -23,7 +23,6 @@ set -e ...@@ -23,7 +23,6 @@ set -e
PKG=google.golang.org/genproto PKG=google.golang.org/genproto
PROTO_REPO=https://github.com/google/protobuf PROTO_REPO=https://github.com/google/protobuf
PROTO_SUBDIR=src/google/protobuf
GOOGLEAPIS_REPO=https://github.com/googleapis/googleapis GOOGLEAPIS_REPO=https://github.com/googleapis/googleapis
API_COMMON_REPO=https://github.com/googleapis/api-common-protos.git API_COMMON_REPO=https://github.com/googleapis/api-common-protos.git
...@@ -48,7 +47,7 @@ trap 'rm -rf $remove_dirs' EXIT ...@@ -48,7 +47,7 @@ trap 'rm -rf $remove_dirs' EXIT
if [ -z "$PROTOBUF" ]; then if [ -z "$PROTOBUF" ]; then
proto_repo_dir=$(mktemp -d -t regen-cds-proto.XXXXXX) proto_repo_dir=$(mktemp -d -t regen-cds-proto.XXXXXX)
git clone -q $PROTO_REPO $proto_repo_dir & git clone $PROTO_REPO $proto_repo_dir
remove_dirs="$proto_repo_dir" remove_dirs="$proto_repo_dir"
# The protoc include directory is actually the "src" directory of the repo. # The protoc include directory is actually the "src" directory of the repo.
protodir="$proto_repo_dir/src" protodir="$proto_repo_dir/src"
...@@ -58,7 +57,7 @@ fi ...@@ -58,7 +57,7 @@ fi
if [ -z "$GOOGLEAPIS" ]; then if [ -z "$GOOGLEAPIS" ]; then
apidir=$(mktemp -d -t regen-cds-api.XXXXXX) apidir=$(mktemp -d -t regen-cds-api.XXXXXX)
git clone -q $GOOGLEAPIS_REPO $apidir & git clone $GOOGLEAPIS_REPO $apidir
remove_dirs="$remove_dirs $apidir" remove_dirs="$remove_dirs $apidir"
else else
apidir="$GOOGLEAPIS" apidir="$GOOGLEAPIS"
...@@ -66,7 +65,7 @@ fi ...@@ -66,7 +65,7 @@ fi
if [ -z "$COMMONPROTOS" ]; then if [ -z "$COMMONPROTOS" ]; then
commondir=$(mktemp -d -t regen-cds-common.XXXXXX) commondir=$(mktemp -d -t regen-cds-common.XXXXXX)
git clone -q $API_COMMON_REPO $commondir & git clone $API_COMMON_REPO $commondir
remove_dirs="$remove_dirs $commondir" remove_dirs="$remove_dirs $commondir"
else else
commondir="$COMMONPROTOS" commondir="$COMMONPROTOS"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment