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

Side by Side Diff: bootstrap/win/win_tools.bat

Issue 1894803002: Fix git help on 32-bit Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Use OS_BITS to detect docs location Created 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 @echo off 1 @echo off
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 determine if python, git, or svn binaries need updates. It 6 :: This script will determine if python, git, or svn binaries need updates. It
7 :: returns 123 if the user's shell must restart, otherwise !0 is failure 7 :: returns 123 if the user's shell must restart, otherwise !0 is failure
8 8
9 :: Sadly, we can't use SETLOCAL here otherwise it ERRORLEVEL is not correctly 9 :: Sadly, we can't use SETLOCAL here otherwise it ERRORLEVEL is not correctly
10 :: returned. 10 :: returned.
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 149
150 :SYNC_GIT_HELP_FILES 150 :SYNC_GIT_HELP_FILES
151 :: Copy all the depot_tools docs into the mingw64 git docs root. 151 :: Copy all the depot_tools docs into the mingw64 git docs root.
152 :: /i : Make sure xcopy knows that the destination names a folder, not a file 152 :: /i : Make sure xcopy knows that the destination names a folder, not a file
153 :: /q : Make xcopy quiet (though it still prints a `X File(s) copied` message 153 :: /q : Make xcopy quiet (though it still prints a `X File(s) copied` message
154 :: which is why we have the > NUL) 154 :: which is why we have the > NUL)
155 :: /d : Copy source files that are newer than the corresponding destination 155 :: /d : Copy source files that are newer than the corresponding destination
156 :: files only. This prevents excessive copying when none of the docs 156 :: files only. This prevents excessive copying when none of the docs
157 :: actually changed. 157 :: actually changed.
158 :: /y : Don't prompt for overwrites (yes) 158 :: /y : Don't prompt for overwrites (yes)
159 xcopy /i /q /d /y "%WIN_TOOLS_ROOT_DIR%\man\html\*" "%GIT_INST_DIR%\mingw64\shar e\doc\git-doc" > NUL 159 xcopy /i /q /d /y "%WIN_TOOLS_ROOT_DIR%\man\html\*" "%GIT_INST_DIR%\mingw%OS_BIT S%\share\doc\git-doc" > NUL
160 160
161 :: MSYS users need to restart their shell. 161 :: MSYS users need to restart their shell.
162 if defined MSYSTEM if defined DID_UPGRADE ( 162 if defined MSYSTEM if defined DID_UPGRADE (
163 echo. 163 echo.
164 echo. 164 echo.
165 echo IMPORTANT: 165 echo IMPORTANT:
166 echo depot_tools' git distribution has been updated while inside of a MinGW 166 echo depot_tools' git distribution has been updated while inside of a MinGW
167 echo shell. In order to complete the upgrade, please exit the shell and re-run 167 echo shell. In order to complete the upgrade, please exit the shell and re-run
168 echo `git bash` from cmd. 168 echo `git bash` from cmd.
169 exit 123 169 exit 123
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 goto :END 215 goto :END
216 216
217 217
218 :returncode 218 :returncode
219 set WIN_TOOLS_ROOT_URL= 219 set WIN_TOOLS_ROOT_URL=
220 set WIN_TOOLS_ROOT_DIR= 220 set WIN_TOOLS_ROOT_DIR=
221 exit /b %ERRORLEVEL% 221 exit /b %ERRORLEVEL%
222 222
223 :END 223 :END
224 call :returncode %ERRORLEVEL% 224 call :returncode %ERRORLEVEL%
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698