delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/01/26/06:24:34

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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" <freeweb AT nyckelpiga DOT de>
Reply-To: "Gerrit P. Haase" <freeweb AT nyckelpiga DOT de>
Organization: Esse keine toten Tiere
Message-ID: <61853041128.20040126122331@familiehaase.de>
To: RK <rk_news AT netway DOT at>
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

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019