ref: beda2d8a02c7379aecb85832cf62116fea9baf73
parent: f06b6e8041c0a333da55cee1b67505f6b196125c
parent: dcd69c82f1c2c158d7f906d3189480bef02f238d
author: huili2 <huili2@cisco.com>
date: Wed Mar 15 11:24:46 EDT 2017
Merge pull request #2685 from GuangweiWang/verify-gtest-before-clone add verify logic before clone gtest
--- a/Makefile
+++ b/Makefile
@@ -174,7 +174,7 @@
cd gmp-api && git fetch origin && git checkout $(GMP_API_BRANCH)
gtest-bootstrap:
- git clone https://github.com/google/googletest.git gtest
+ if [ ! -d gtest ] ; then git clone https://github.com/google/googletest.git gtest ; fi
ifeq ($(HAVE_GTEST),Yes)