Index: third_party/protobuf/autogen.sh |
diff --git a/third_party/protobuf/autogen.sh b/third_party/protobuf/autogen.sh |
index 5b4c29f8c06fa38d00b1931a976ba62e6bbb6e4f..9f266425856bb177db3bd2581c54f8aac898b16b 100755 |
--- a/third_party/protobuf/autogen.sh |
+++ b/third_party/protobuf/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 |