This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: postgreSQL 7.4.1-3 createdb bug
- From: "Gerrit P. Haase" <freeweb at nyckelpiga dot de>
- To: RK <rk_news at netway dot at>
- Cc: cygwin at cygwin dot com
- Date: Mon, 26 Jan 2004 12:23:31 +0100
- Subject: Re: postgreSQL 7.4.1-3 createdb bug
- Organization: Esse keine toten Tiere
- References: <4014F134.2000205@netway.at>
- Reply-to: "Gerrit P. Haase" <freeweb at nyckelpiga dot de>
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/