delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/04/11/05:05:44

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Fri, 11 Apr 2008 11:05:09 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: -11: Problem at 1st start when "cygwin.bat" is run by Nullsoft-Installer
Message-ID: <20080411090509.GF23852@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20080411085023 DOT GE23852 AT calimero DOT vinschen DOT de> <OFD3B669B7 DOT C0D3BB9D-ONC1257428 DOT 0030BB8F-C1257428 DOT 0030E34E AT de DOT ibm DOT com>
MIME-Version: 1.0
In-Reply-To: <OFD3B669B7.C0D3BB9D-ONC1257428.0030BB8F-C1257428.0030E34E@de.ibm.com>
User-Agent: Mutt/1.5.16 (2007-06-09)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Apr 11 10:53, Christoph Herdeg wrote:
> A tip _when_ to do it would be great. I can well write shellscripts for my
> own simple purposes, but I am definiteley no Guru.

*Before* calling bash.  I don't know what your installer is doing and
how and where it calls bash, but the environment should be cleared of
these vars before bash is called.  If a batch file is involved, do it
in the batch file, if no batch file is involved, the installer must
do it using Win32 calls like SetEnvironmentVariable.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019