aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFeng Xiao <xfxyjwf@gmail.com>2016-08-25 14:28:59 -0700
committerJisi Liu <jisi.liu@gmail.com>2017-03-08 15:25:37 -0800
commit97cdd6e677a1634b79a29a05992530fdf90a9368 (patch)
treef4f817a4fbd499b7686d8ff3c8495c9c2bc23630
parent8f2d5f07aa33294f9621a4c16ec744a1fcdd13e6 (diff)
downloadprotobuf-97cdd6e677a1634b79a29a05992530fdf90a9368.tar.gz
protobuf-97cdd6e677a1634b79a29a05992530fdf90a9368.tar.bz2
protobuf-97cdd6e677a1634b79a29a05992530fdf90a9368.zip
Update gmock links.
The original link is no longer available. Change-Id: I2976d3f19c8e818689549fb31ff20af8eae92a07
-rwxr-xr-xautogen.sh13
1 files changed, 9 insertions, 4 deletions
diff --git a/autogen.sh b/autogen.sh
index 5b4c29f8..9f266425 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -31,10 +31,15 @@ fi
# directory is set up as an SVN external.
if test ! -e gmock; then
echo "Google Mock not present. Fetching gmock-1.7.0 from the web..."
- curl $curlopts -O https://googlemock.googlecode.com/files/gmock-1.7.0.zip
- unzip -q gmock-1.7.0.zip
- rm gmock-1.7.0.zip
- mv gmock-1.7.0 gmock
+ curl $curlopts -L -O https://github.com/google/googlemock/archive/release-1.7.0.zip
+ unzip -q release-1.7.0.zip
+ rm release-1.7.0.zip
+ mv googlemock-release-1.7.0 gmock
+
+ curl $curlopts -L -O https://github.com/google/googletest/archive/release-1.7.0.zip
+ unzip -q release-1.7.0.zip
+ rm release-1.7.0.zip
+ mv googletest-release-1.7.0 gmock/gtest
fi
set -ex