]> cygwin.com Git - cygwin-apps/setup.git/commitdiff
* setup.c (main): Remove the CYGWIN environment variable before starting any
authorChristopher Faylor <me@cgf.cx>
Tue, 18 Apr 2000 19:36:17 +0000 (19:36 +0000)
committerChristopher Faylor <me@cgf.cx>
Tue, 18 Apr 2000 19:36:17 +0000 (19:36 +0000)
cygwin programs.

ChangeLog
setup.c

index 0bc63dcef31e3922be1952e6dbd73d9b4279f20b..d249e3b9eeb85036513510fa2cd00b53abe92376 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Tue Apr 18 15:35:19 2000  Christopher Faylor <cgf@cygnus.com>
+
+       * setup.c (main): Remove the CYGWIN environment variable before
+       starting any cygwin programs.
+
 Mon Apr 17 19:20:52 2000  Vadim Egorov <egorovv@mailandnews.com>
 
        * setup.c (geturl): Use alternative method for finding filename part of
diff --git a/setup.c b/setup.c
index 63200700e76ed2e87cc69a04dab6c6484ec89ab6..02d74f03e3a1901b178aee99e24030c5149da45e 100644 (file)
--- a/setup.c
+++ b/setup.c
@@ -1071,6 +1071,7 @@ main ()
   char *logpath = NULL;
   char *revn, *p;
 
+  SetEnvironmentVariable ("CYGWIN", NULL);
   revn = strchr (rev, ':');
   if (!revn || (p = strchr (revn + 2, ' ')) == NULL)
     revn = "";
This page took 0.031999 seconds and 5 git commands to generate.