Skip to content

Conversation

@sachin-gupta
Copy link

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.

…n 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.
TYPE "%GITEXTRAS%\helper\git-extra-utility" >> "%PREFIX%\bin\%%i"
MORE +2 "%GITEXTRAS%\bin\%%i" >> "%PREFIX%\bin\%%i"

:: Added /E Option for Installation Fix On Windows 10 Higher Version
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be safer to use REM instead of :: in the block.
https://stackoverflow.com/a/42148114/2278997

echo Installing binaries...
FOR /R "%GITEXTRAS%\bin" %%i in (*.*) DO (
:: Fixation for Windows 10.0.17134 Build 17134 (Won't install without /E)
:: Echo file being written for testing
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMHO, these two comments don't look like necessary. The first one could be put just before MORE command, and the second one is too straightforward.


FOR %%i in (%COMMANDS_WITHOUT_REPO%) DO (
:: Fixation for Windows 10.0.17134 Build 17134 (Won't install without /E)
:: Echo file being written for testing
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto.

@spacewander spacewander merged commit 3b7637c into tj:master Oct 16, 2018
@spacewander
Copy link
Collaborator

@sachin-gupta
Merged with a little change. Thank you for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants