Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1922)

Unified Diff: depot_tools/bootstrap/gclient.sh

Issue 92087: Create the Next Generation of depot_tools. Eh. (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/tools/
Patch Set: Created 11 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « depot_tools/bootstrap/gclient.bat ('k') | depot_tools/bootstrap/win/7z.copying.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: depot_tools/bootstrap/gclient.sh
===================================================================
--- depot_tools/bootstrap/gclient.sh (revision 0)
+++ depot_tools/bootstrap/gclient.sh (revision 0)
@@ -0,0 +1,18 @@
+#!/bin/sh
+# Copyright (c) 2009 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# This script will try to sync the root and bootstrap directories.
+
+base_dir=$(dirname "$0")
+
+# Skip if $DEPOT_TOOLS_UPDATE==0 or ../.svn/. doesn't exist.
+if [ "X$DEPOT_TOOLS_UPDATE" != "X0" -a -e "$base_dir/../.svn" ]
+then
+ # Update the root directory.
+ svn -q up "$base_dir/.."
+fi
+
+exec python "$base_dir/../gclient.py" "$@"
+
Property changes on: depot_tools\bootstrap\gclient.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: svn:eol-style
+ LF
« no previous file with comments | « depot_tools/bootstrap/gclient.bat ('k') | depot_tools/bootstrap/win/7z.copying.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698