Commit graph

14 commits

Author SHA1 Message Date
zentarul 700580aae6
Fix missing double quotes after %DEBUG% 2018-11-01 11:11:53 -04:00
spacewander 6e7766f5a4 install.cmd: tweak comments 2018-10-16 21:52:28 +08:00
Sachin Gupta edebba89b9 Fix: Dev: /E option required with MORE for working on higher version of Windows 10 (**_Build 17134_**)
Changes:
- Added small text line to debug files being written iff environment variable `%DEBUG%` is `true`
- Added option `/E` to both MORE commands used inside install.cmd for copying files.
2018-10-09 14:07:05 +05:30
Oliver Kopp f959b4d4d3
Remove trailing dot of German Windows 2018-02-04 13:04:25 +01:00
Marco Glasbergen d520e0641e Fix 'Invalid code page' error when resetting code page at end of script 2017-11-03 09:00:51 +01:00
spacewander 4d885acda0 fix various typos 2017-06-18 20:22:11 +08:00
Jan Schulz 64f9e4d797 installation.md: Update information about column.exe
column.exe will be available in the next git release:
https://github.com/git-for-windows/build-extra/pull/92

Also convert tabs to spaces... Was mixed up to now :-/
2016-01-06 15:54:04 +01:00
Jan Schulz 6bf64fbb23 install.cmd: add a check for write rights to the install folder
This was happening earlier as well, but the error messages were the
raw messages from the failed writes...
2016-01-06 15:54:03 +01:00
Jan Schulz a20d4bc890 install.cmd: properly escape the ! in the shebang line
This was a regression introduced by the useage of `enabledelayedexpansion`,
which results in `!` treated as variable identifier like `%`. The result
was that git didn't treat the scripts as git commands...
2016-01-06 15:53:49 +01:00
Jan Schulz 672c87e9e4 Make the win installer more robust
User visible:
* Also accept the git install path (and not the mingw64 subdir) as a user
  supplied install location. Make it the new default and warn the user if
  a mingw64 dir is supplied (=this dir is not checked, so it might be
  anywhere...)
* Find git.exe in path and use that as an install location
* Add error|status messages and output less noise (robocopy)
* do some check if column.exe is not found...
* adjust the installation text for windows...

not user visible:
* more.exe does not work when used in a cmd which has a unicode codepage
  -> save the current codepage and set a sane default during the install
* do some "magic" with quotes around path variables -> makes it work with
  pathes with spaces in it (both final git dir and the git-extra checkout)
* Do not leak variables to the sourounding interpreter
2016-01-05 15:57:09 +01:00
Jan Schulz 546ddf78af Use the default installation path in install.cmd 2015-10-17 12:25:14 +02:00
luozexuan 5fb7f6b77c make it possible to update via git extras 2015-08-16 11:47:16 +08:00
gisphm fd4fbd3950 format install.cmd
Signed-off-by: gisphm <phmfk@hotmail.com>
2015-06-21 01:06:47 +08:00
gisphm 3f7bcba984 add install.cmd for installation on windows
The script install.cmd has two environment variables PREFIX and HTMLDIR.
PREFIX is where your git is installed and HTMLDIR is the location of html files under PREFIX.
This script is written for msysgit installed from https://github.com/git-for-windows/git.

Signed-off-by: gisphm <phmfk@hotmail.com>
2015-06-20 19:18:04 +08:00