]> cygwin.com Git - cygwin-apps/setup.git/commitdiff
Ignore 'CYGWIN=winsymlinks:lnk' release_2.916
authorJon Turney <jon.turney@dronecode.org.uk>
Tue, 18 Jan 2022 15:02:58 +0000 (15:02 +0000)
committerJon Turney <jon.turney@dronecode.org.uk>
Tue, 18 Jan 2022 15:02:58 +0000 (15:02 +0000)
Ignore 'CYGWIN=winsymlinks:lnk', rather than converting it to
'--symlink-type lnk', which then fails with '*** --symlink-type lnk is
not implemented'.

main.cc

diff --git a/main.cc b/main.cc
index 1c22c6b64fabe4f4f56870bdf98647a19322c3b8..ea4152f5ecf74fc91a1bc7eb45ca0152bdb9d1bf 100644 (file)
--- 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
This page took 0.034898 seconds and 5 git commands to generate.