Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Mon, 26 Jan 2004 12:23:31 +0100 From: "Gerrit P. Haase" Reply-To: "Gerrit P. Haase" Organization: Esse keine toten Tiere Message-ID: <61853041128.20040126122331@familiehaase.de> To: RK CC: cygwin AT cygwin DOT com Subject: Re: postgreSQL 7.4.1-3 createdb bug In-Reply-To: <4014F134.2000205@netway.at> References: <4014F134 DOT 2000205 AT netway DOT at> MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit 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/