From: Michael Wild <themiwi@gmail.com>
To: The Cygwin Mailing List <cygwin@cygwin.com>
Subject: Re: Forcing setup.exe not to create WSL symlinks
Date: Thu, 27 Aug 2020 14:49:59 +0200 [thread overview]
Message-ID: <CAALQ5rmUwRiz=xVXXbmqZJZ8O7M_wVBLz=6T0dLt5oXt7w5HLQ@mail.gmail.com> (raw)
In-Reply-To: <CAALQ5rn5=oqGOge7mTFGoDeJCxD6H4=cFN3Mww+My4DMxNPsEQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 123 bytes --]
On Thu, Aug 27, 2020 at 2:48 PM Michael Wild wrote:
>
>
> [...] I attached this fix as a patch. [...]
>
>
No, I didn't...
[-- Attachment #2: 0001-Keep-CYGWIN-environment-variable-when-running-script.patch --]
[-- Type: application/octet-stream, Size: 683 bytes --]
From 2d112b26d8f29b083989ba919364d47c6d43661f Mon Sep 17 00:00:00 2001
From: Michael Wild <themiwi@gmail.com>
Date: Thu, 27 Aug 2020 14:45:42 +0200
Subject: [PATCH 1/1] Keep CYGWIN environment variable when running scripts
---
script.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/script.cc b/script.cc
index 92c3122..67e12ad 100644
--- a/script.cc
+++ b/script.cc
@@ -89,6 +89,7 @@ init_run_script ()
char *eq = strchr (p, '=');
*eq = '\0';
if (strcasecmp (p, "comspec") != 0
+ && strncasecmp (p, "cygwin", 7) != 0
&& strcasecmp (p, "path") != 0
&& strncasecmp (p, "system", 7) != 0
&& strncasecmp (p, "user", 4) != 0
--
2.28.0
next prev parent reply other threads:[~2020-08-27 12:50 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-26 12:14 Michael Wild
2020-08-26 15:19 ` Andrey Repin
2020-08-26 15:24 ` Michael Wild
2020-08-26 18:29 ` Achim Gratz
2020-08-26 19:06 ` Michael Wild
2020-08-26 20:15 ` Michael Wild
2020-08-26 20:55 ` Jon Turney
2020-08-27 5:48 ` Michael Wild
2020-08-27 9:00 ` Corinna Vinschen
2020-08-27 9:38 ` Andrey Repin
2020-08-27 9:44 ` Michael Wild
2020-08-27 12:48 ` Michael Wild
2020-08-27 12:49 ` Michael Wild [this message]
2020-08-30 20:24 ` Jon Turney
2020-09-06 14:44 ` Jon Turney
2020-08-30 20:24 ` Jon Turney
2020-08-31 4:51 ` Michael Wild
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAALQ5rmUwRiz=xVXXbmqZJZ8O7M_wVBLz=6T0dLt5oXt7w5HLQ@mail.gmail.com' \
--to=themiwi@gmail.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).