Subject: Re: postgreSQL 7.4.1-3 createdb bug
From: "Gerrit P. Haase" <[email-masked]>
To: RK <[email-masked]>
Cc: [email-masked]
Date: Mon, 26 Jan 2004 12:23:31 +0100

RK wrote:

> createdb tries to use Windows (cmd's) cp command and not bash's (within
> Cygwin).

Probably your PATH setting is wrong, change it to include at first the
Cygwin PATH and then the rest of Windows.

> So it is unable to cope with the used option and the filename syntax.

You may set the PATH in the script before doing so, s.th. like this
should do it:

#!/usr/bin/sh

export PATH=/usr/local/bin:/usr/bin

[... rest of the script ...]

Gerrit
-- 
=^..^=                                     http://nyckelpiga.de/donate.html

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