aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFeng Xiao <xfxyjwf@gmail.com>2016-08-25 14:28:59 -0700
committerJisi Liu <jisi.liu@gmail.com>2016-08-26 09:42:33 -0700
commit1760feb621a913189b90fe8595fffb74bce84598 (patch)
tree78d59714818ffa5339bf4c4c8391d522de8a66c6
parent1e6dc7d2c3a56e5613320ebbb0182a7cc4952608 (diff)
downloadprotobuf-1760feb621a913189b90fe8595fffb74bce84598.tar.gz
protobuf-1760feb621a913189b90fe8595fffb74bce84598.tar.bz2
protobuf-1760feb621a913189b90fe8595fffb74bce84598.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