shithub: openh264

Download patch

ref: dcd69c82f1c2c158d7f906d3189480bef02f238d
parent: a136ba743425080f896ae125263c6b7c3759be6c
author: Guangwei Wang <guangwwa@cisco.com>
date: Mon Mar 13 06:29:14 EDT 2017

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)