public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
* [setup - the official Cygwin setup program] branch master, updated. release_2.905-4-g1473bfd3
@ 2020-08-30 20:24 Jon TURNEY
0 siblings, 0 replies; only message in thread
From: Jon TURNEY @ 2020-08-30 20:24 UTC (permalink / raw)
To: cygwin-apps-cvs
https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/setup.git;h=1473bfd37d3f38c4f75adad3eab7e1bf83526339
commit 1473bfd37d3f38c4f75adad3eab7e1bf83526339
Author: Michael Wild <themiwi@gmail.com>
Date: Thu Aug 27 14:45:42 2020 +0200
Propagate the value of CYGWIN environment variable into scripts
Propagate the value of the CYGWIN environment variable into the
sanitized environment we use to run scripts.
Note: as it stands, this isn't always useful as the initial environment
isn't propagated when setup re-runs itself elevated.
Diff:
---
script.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/script.cc b/script.cc
index 92c3122d..69dc1155 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
+ && strcasecmp (p, "cygwin") != 0
&& strcasecmp (p, "path") != 0
&& strncasecmp (p, "system", 7) != 0
&& strncasecmp (p, "user", 4) != 0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-08-30 20:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-30 20:24 [setup - the official Cygwin setup program] branch master, updated. release_2.905-4-g1473bfd3 Jon TURNEY
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).