Files
MINGW-packages/mingw-w64-git-lfs/0001-Translate-git-paths-from-msys-to-windows.patch
MFLD fbe4b9b361 Upgrade Git LFS to version 2.2.1 (#2795)
* Fix #2595 : git-lfs package build

* Upgrade Git LFS to 2.2.1
2017-08-18 06:35:20 +03:00

16 lines
618 B
Diff

diff -rupN old/tools/cygwin_windows.go new/tools/cygwin_windows.go
--- old/tools/cygwin_windows.go 2017-04-21 22:27:30.893330900 -0500
+++ new/tools/cygwin_windows.go 2017-04-21 22:35:24.320047700 -0500
@@ -43,7 +43,10 @@ func isCygwin() bool {
return false
}
- if bytes.Contains(out, []byte("CYGWIN")) || bytes.Contains(out, []byte("MSYS")) {
+ if bytes.Contains(out, []byte("CYGWIN")) ||
+ bytes.Contains(out, []byte("MINGW64")) ||
+ bytes.Contains(out, []byte("MINGW32")) ||
+ bytes.Contains(out, []byte("MSYS")) {
cygwinState = cygwinStateEnabled
} else {
cygwinState = cygwinStateDisabled