delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/12/18/10:24:04

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Thu, 18 Dec 2003 10:23:44 -0500
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Is cygwin_ROOT still there?
Message-ID: <20031218152344.GA6945@redhat.com>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20031216180803 DOT GD9896 AT redhat DOT com> <Pine DOT HPX DOT 4 DOT 44 DOT 0312161228340 DOT 4583-100000 AT risc4 DOT numis DOT nwu DOT edu>
Mime-Version: 1.0
In-Reply-To: <Pine.HPX.4.44.0312161228340.4583-100000@risc4.numis.nwu.edu>
User-Agent: Mutt/1.4.1i
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com

On Thu, Dec 18, 2003 at 07:34:11AM -0600, L. D. Marks wrote:
>Thanks. A slightly tortuous solution, but this works (after adding mount
>to a limited set of executables). FYI, I used a ls /cygwin/cygwin.bat
>to test for the existence of cygwin on the system.

Wouldn't checking for cygwin1.dll be an infinitely better test?

>N.B., to include a snippet from startxwin.bat:
>
>REM The path in the CYGWIN_ROOT environment variable assignment assume
>REM that Cygwin is installed in a directory called 'cygwin' in the root
>REM directory of the current drive.  You will only need to modify
>REM CYGWIN_ROOT if you have installed Cygwin in another directory.  For
>REM example, if you installed Cygwin in \foo\bar\baz\cygwin, you will need
>REM to change \cygwin to \foo\bar\baz\cygwin.

startxwin.bat != cygwin

This is just a convention used by one .bat file.  It is not a universally
understood convention throughout cygwin.

--
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