public inbox for cygwin-apps-cvs@sourceware.org help / color / mirror / Atom feed
From: Jon TURNEY <jturney@sourceware.org> To: cygwin-apps-cvs@sourceware.org Subject: [setup - the official Cygwin setup program] branch master, updated. release_2.905-4-g1473bfd3 Date: Sun, 30 Aug 2020 20:24:39 +0000 (GMT) [thread overview] Message-ID: <20200830202439.C50393857C7D@sourceware.org> (raw) 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
reply other threads:[~2020-08-30 20:24 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20200830202439.C50393857C7D@sourceware.org \ --to=jturney@sourceware.org \ --cc=cygwin-apps-cvs@sourceware.org \ /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: linkBe 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).