delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/02/15/14:54:18

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <38A9B1CB.1EA35186@veritas.com>
Date: Tue, 15 Feb 2000 12:06:35 -0800
From: Bob McGowan <Robert DOT McGowan AT veritas DOT com>
Organization: VERITAS Software
X-Mailer: Mozilla 4.7 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: jskakkebaek AT adomo DOT com
CC: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: running shell scripts
References: <NDBBLCOBBMBMLKOHDKBAKEMICEAA DOT jskakkebaek AT adomo DOT com>

Jens,

Check the scripts' first line, the #! one.  Be sure that it reference
bash and that the path used is also correct.  
As in:  #!/bin/bash

Be sure you have a /bin/bash.exe for the above to work.

If these are correct, try running one of the scripts using the
following:

   bash -x script_name 2>&1 | tee script_dbg.txt

Depending on where the failure happens, you will see various amounts of
output on the screen.  It should stop at the point where the problem
exists, hopefully providing a clue about what it is looking for.

Bob

Jens Skakkebaek wrote:
> 
> Hi,
> 
> I'm trying to run the Postgres database from cygwin and have got the main
> database to work.
> However, there a number of shell scripts that I cant run.  E.g., I get a "no
> such file or directory" error when I tried to run some of the scripts. It
> prints out the path correctly, so that's not the problem.
> 
> Prefixing it with the full path does not help.
> 
> Any pointers would be greatly appreciated.
> 
> Thanks in advance,
> 
> Jens Skakkebaek
> jskakkebaek AT adomo DOT com
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

-- 
Bob McGowan
Staff Software Quality Engineer
VERITAS Software
rmcgowan AT veritas DOT com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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