postgreSQL 7.4.1-3 createdb bug

Gerrit P. Haase freeweb@nyckelpiga.de
Mon Jan 26 14:16:00 GMT 2004


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/



More information about the Cygwin mailing list