Index: third_party/gsutil/third_party/oauth2client/scripts/push-docs |
diff --git a/third_party/mapreduce/mapreduce/third_party/__init__.py b/third_party/gsutil/third_party/oauth2client/scripts/push-docs |
similarity index 76% |
copy from third_party/mapreduce/mapreduce/third_party/__init__.py |
copy to third_party/gsutil/third_party/oauth2client/scripts/push-docs |
index 6c49c4299556faf32422012d20c0b9e8609e5a91..45a347fa56578a36b196eef09f2116ca7a5ccd40 100755 |
--- a/third_party/mapreduce/mapreduce/third_party/__init__.py |
+++ b/third_party/gsutil/third_party/oauth2client/scripts/push-docs |
@@ -1,6 +1,6 @@ |
-#!/usr/bin/env python |
+#!/bin/bash |
# |
-# Copyright 2010 Google Inc. |
+# Copyright 2014 Google Inc. All rights reserved. |
# |
# Licensed under the Apache License, Version 2.0 (the "License"); |
# you may not use this file except in compliance with the License. |
@@ -13,3 +13,8 @@ |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
# See the License for the specific language governing permissions and |
# limitations under the License. |
+# |
+# Push a new version of the docs. |
+ |
+REPO=${REPO:-'origin'} |
+ghp-import -n docs/_build/html -r "${REPO}" -p |