remove -q from git clone (#133)
This makes it easier to reason about what this script is doing.
diff --git a/regen.sh b/regen.sh
index 53e00fc..c7de0c2 100755
--- a/regen.sh
+++ b/regen.sh
@@ -23,7 +23,6 @@
PKG=google.golang.org/genproto
PROTO_REPO=https://github.com/google/protobuf
-PROTO_SUBDIR=src/google/protobuf
GOOGLEAPIS_REPO=https://github.com/googleapis/googleapis
API_COMMON_REPO=https://github.com/googleapis/api-common-protos.git
@@ -48,7 +47,7 @@
if [ -z "$PROTOBUF" ]; then
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"
# The protoc include directory is actually the "src" directory of the repo.
protodir="$proto_repo_dir/src"
@@ -58,7 +57,7 @@
if [ -z "$GOOGLEAPIS" ]; then
apidir=$(mktemp -d -t regen-cds-api.XXXXXX)
- git clone -q $GOOGLEAPIS_REPO $apidir &
+ git clone $GOOGLEAPIS_REPO $apidir
remove_dirs="$remove_dirs $apidir"
else
apidir="$GOOGLEAPIS"
@@ -66,7 +65,7 @@
if [ -z "$COMMONPROTOS" ]; then
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"
else
commondir="$COMMONPROTOS"