From 106934fe6eacd3ac28d04547f5c8ea8996348513 Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Tue, 18 Jan 2022 15:02:58 +0000 Subject: [PATCH] Ignore 'CYGWIN=winsymlinks:lnk' Ignore 'CYGWIN=winsymlinks:lnk', rather than converting it to '--symlink-type lnk', which then fails with '*** --symlink-type lnk is not implemented'. --- main.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main.cc b/main.cc index 1c22c6b6..ea4152f5 100644 --- a/main.cc +++ b/main.cc @@ -388,8 +388,9 @@ WinMain (HINSTANCE h, } else if (cygwin.find("winsymlinks:lnk") != std::string::npos) { - symlinkType = SymlinkTypeShortcut; - elevate_extra_args.append("--symlink-type lnk"); + // Ignore CYGWIN=winsymlinks:lnk, as '--symlink-type lnk' is not implemented + // symlinkType = SymlinkTypeShortcut; + // elevate_extra_args.append("--symlink-type lnk"); } } else -- 2.43.5