From ae430379db125c38fdf9d2fd724d8240a5c93f67 Mon Sep 17 00:00:00 2001 From: "iannucci@chromium.org" Date: Fri, 22 Apr 2016 06:50:16 +0000 Subject: [PATCH] Fix git help on 32-bit Windows BUG=604018 Review URL: https://codereview.chromium.org/1894803002 . git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@300104 0039d316-1c4b-4281-b951-d872f2087c98 --- bootstrap/win/win_tools.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bootstrap/win/win_tools.bat b/bootstrap/win/win_tools.bat index 3fa90de94..8f8652d10 100644 --- a/bootstrap/win/win_tools.bat +++ b/bootstrap/win/win_tools.bat @@ -148,7 +148,7 @@ call "%WIN_TOOLS_ROOT_DIR%\git.bat" config --system core.preloadindex true call "%WIN_TOOLS_ROOT_DIR%\git.bat" config --system core.fscache true :SYNC_GIT_HELP_FILES -:: Copy all the depot_tools docs into the mingw64 git docs root. +:: Copy all the depot_tools docs into the mingw{bits} git docs root. :: /i : Make sure xcopy knows that the destination names a folder, not a file :: /q : Make xcopy quiet (though it still prints a `X File(s) copied` message :: which is why we have the > NUL) @@ -156,7 +156,7 @@ call "%WIN_TOOLS_ROOT_DIR%\git.bat" config --system core.fscache true :: files only. This prevents excessive copying when none of the docs :: actually changed. :: /y : Don't prompt for overwrites (yes) -xcopy /i /q /d /y "%WIN_TOOLS_ROOT_DIR%\man\html\*" "%GIT_INST_DIR%\mingw64\share\doc\git-doc" > NUL +xcopy /i /q /d /y "%WIN_TOOLS_ROOT_DIR%\man\html\*" "%GIT_INST_DIR%\mingw%OS_BITS%\share\doc\git-doc" > NUL :: MSYS users need to restart their shell. if defined MSYSTEM if defined DID_UPGRADE (