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

Side by Side Diff: update_depot_tools

Issue 1200843003: Added virtualenv for depot_tools (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Rebase Created 5 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « bootstrap/util.py ('k') | update_depot_tools.bat » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env bash 1 #!/usr/bin/env bash
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 # This script will try to sync the bootstrap directories and then defer control. 6 # This script will try to sync the bootstrap directories and then defer control.
7 7
8 if [ "$USER" == "root" ]; 8 if [ "$USER" == "root" ];
9 then 9 then
10 echo Running depot tools as root is sad. 10 echo Running depot tools as root is sad.
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 "$SVN" -q up "$base_dir" 146 "$SVN" -q up "$base_dir"
147 AFTER_REVISION=$(get_svn_revision) 147 AFTER_REVISION=$(get_svn_revision)
148 if [[ "$BEFORE_REVISION" != "$AFTER_REVISION" ]]; then 148 if [[ "$BEFORE_REVISION" != "$AFTER_REVISION" ]]; then
149 if [ -z "$DEPOT_TOOLS_HIDE_UPDATED_MESSAGE" ]; then 149 if [ -z "$DEPOT_TOOLS_HIDE_UPDATED_MESSAGE" ]; then
150 echo "Depot Tools has been updated to revision $AFTER_REVISION." 1>&2 150 echo "Depot Tools has been updated to revision $AFTER_REVISION." 1>&2
151 fi 151 fi
152 fi 152 fi
153 fi 153 fi
154 154
155 find "$base_dir" -iname "*.pyc" -exec rm {} \; 155 find "$base_dir" -iname "*.pyc" -exec rm {} \;
156
157 # Initialize/update virtualenv.
158 cd $base_dir
159 python -u ./bootstrap/bootstrap.py --deps_file bootstrap/deps.pyl ENV
OLDNEW
« no previous file with comments | « bootstrap/util.py ('k') | update_depot_tools.bat » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698