RE: A good way to test if Cygwin isn't installed?

2004-10-01 Thread Hughes, Bill
[EMAIL PROTECTED] wrote: > I just wanted to run an idea past the list. > > I want to write a shell script to test if Cygwin has been installed on > the machine running the shell script. > > I do this by running a shell (from a network install of Cygwin if > necessary). > > If Cygwin is installe

Re: A good way to test if cygwin isn't installed?

2004-10-01 Thread Christopher Faylor
On Fri, Oct 01, 2004 at 02:51:01PM +1000, [EMAIL PROTECTED] wrote: >I just wanted to run an idea past the list. > >I want to write a shell script to test if Cygwin has been installed on >the machine running the shell script. > >I do this by running a shell (from a network install of Cygwin if >nece

Re: A good way to test if cygwin isn't installed?

2004-10-01 Thread Andrew DeFaria
Christopher Faylor wrote: On Fri, Oct 01, 2004 at 02:51:01PM +1000, [EMAIL PROTECTED] wrote: I just wanted to run an idea past the list. I want to write a shell script to test if Cygwin has been installed on the machine running the shell script. I do this by running a shell (from a network inst

RE: A good way to test if cygwin isn't installed?

2004-10-01 Thread Hughes, Bill
Andrew DeFaria wrote: > Christopher Faylor wrote: ..snip.. >> If you have cygwin programs available to you, then use the mount >> command. If the only output from the mount command is of the >> "noumount" variety then cygwin isn't installed in any meaningful way. > > Personally I would consider t

Re: A good way to test if cygwin isn't installed?

2004-10-01 Thread Christopher Faylor
On Fri, Oct 01, 2004 at 06:08:48PM +0100, Hughes, Bill wrote: >Andrew DeFaria wrote: >> Christopher Faylor wrote: >..snip.. >>> If you have cygwin programs available to you, then use the mount >>> command. If the only output from the mount command is of the >>> "noumount" variety then cygwin isn't

Re: A good way to test if cygwin isn't installed?

2004-10-01 Thread Christopher Faylor
On Fri, Oct 01, 2004 at 01:19:39PM -0400, Christopher Faylor wrote: >On Fri, Oct 01, 2004 at 06:08:48PM +0100, Hughes, Bill wrote: >>Andrew DeFaria wrote: >>> Christopher Faylor wrote: >>..snip.. If you have cygwin programs available to you, then use the mount command. If the only output

RE: A good way to test if cygwin isn't installed?

2004-10-01 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Christopher Faylor > Sent: 01 October 2004 18:23 > On Fri, Oct 01, 2004 at 01:19:39PM -0400, Christopher Faylor wrote: > >Just having "mount.exe" and "cygwin1.dll" in the same > directory and running > >"mount" should be adequate. >

Re: A good way to test if cygwin isn't installed?

2004-10-01 Thread Christopher Faylor
On Fri, Oct 01, 2004 at 06:29:48PM +0100, Dave Korn wrote: >> -Original Message- >> From: cygwin-owner On Behalf Of Christopher Faylor >> Sent: 01 October 2004 18:23 > >> On Fri, Oct 01, 2004 at 01:19:39PM -0400, Christopher Faylor wrote: > >> >Just having "mount.exe" and "cygwin1.dll" in t

RE: A good way to test if cygwin isn't installed?

2004-10-01 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Christopher Faylor > Sent: 01 October 2004 18:35 > On Fri, Oct 01, 2004 at 06:29:48PM +0100, Dave Korn wrote: > >> -Original Message- > >> From: cygwin-owner On Behalf Of Christopher Faylor > >> Sent: 01 October 2004 18:23 > >

RE: A good way to test if cygwin isn't installed?

2004-10-01 Thread Igor Pechtchanski
On Fri, 1 Oct 2004, Dave Korn wrote: > > -Original Message- > > From: cygwin-owner On Behalf Of Christopher Faylor > > Sent: 01 October 2004 18:35 > > > On Fri, Oct 01, 2004 at 06:29:48PM +0100, Dave Korn wrote: > > >> -Original Message- > > >> From: cygwin-owner On Behalf Of Chris

RE: A good way to test if cygwin isn't installed?

2004-10-02 Thread Hannu E K Nevalainen
you ([EMAIL PROTECTED]) wrote on : > On Fri, Oct 01, 2004 at 01:19:39PM -0400, Christopher Faylor wrote: >> On Fri, Oct 01, 2004 at 06:08:48PM +0100, Hughes, Bill wrote: >>> Andrew DeFaria wrote: Christopher Faylor wrote: >>> ..snip.. > If you have cygwin programs available to you, then

RE: A good way to test if cygwin isn't installed?

2004-10-03 Thread Hannu E K Nevalainen
I wrote: > you wrote: >> On Fri, Oct 01, 2004 at 01:19:39PM -0400, Christopher Faylor wrote: >>> On Fri, Oct 01, 2004 at 06:08:48PM +0100, Hughes, Bill wrote: Andrew DeFaria wrote: > Christopher Faylor wrote: ..snip.. >> If you have cygwin programs available to you, then use the m

RE: A good way to test if cygwin isn't installed?

2004-10-03 Thread Igor Pechtchanski
On Sun, 3 Oct 2004, Hannu E K Nevalainen wrote: > >> On Fri, Oct 01, 2004 at 01:19:39PM -0400, Christopher Faylor wrote: > >>> If "mount" exits with a "multiple cygwin problem" then, well... > > Hmm... For me this works no matter what I do... does it have to be two > DIFFERING versions of cygwin1.

RE: A good way to test if cygwin isn't installed?

2004-10-05 Thread luke . kendall
On 3 Oct, Igor Pechtchanski wrote: > > Having mount.exe and cygwin1.dll in a specific dir and then run "mount -m" > > after "set PATH=." should be the way to go. > > Yes, that was the idea. > Igor Well, I was running this script from a version of Cygwin installed on the network.