This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: postgreSQL 7.4.1-3 createdb bug


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]