Re: sh not finding a file, even though the full path is given
- From: Peter Garrett <peter.garrett@xxxxxxxxxxxxxxx>
- Date: Tue, 1 Jul 2008 00:30:29 +1000
On Mon, 30 Jun 2008 16:08:50 +0200
"Axel Etzold" <AEtzold@xxxxxx> wrote:
Also, I executed the calling script as root and as sudo and as normal user. It is always the same behaviour ...
one script (tree-tagger-english) calling a file lookup.perl works nicely, another, (tagger-chunker-english) calling
filter-chunker-output.perl doesn't find the latter.
Have you tried running the scripts in "debug" mode?
For example, at the top (as the second line below the #!/bin/sh ) insert
a line like:
set -vex
( Verbose ( -v) , exit on error (-e) , xtrace "Write each command to
standard error" (-x)
Also, I assume that you are aware that "/bin/sh" is linked to
"/bin/dash" in Ubuntu now, not to /bin/bash .
--
Peter Garrett <peter.garrett@xxxxxxxxxxxxxxx>
Attachment:
pgpH62LDRQB9I.pgp
Description: PGP signature
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
- Follow-Ups:
- Re: sh not finding a file, even though the full path is given
- From: Axel Etzold
- Re: sh not finding a file, even though the full path is given
- References:
- sh not finding a file, even though the full path is given
- From: Axel Etzold
- Re: sh not finding a file, even though the full path is given
- From: Karl Auer
- Re: sh not finding a file, even though the full path is given
- From: Axel Etzold
- Re: sh not finding a file, even though the full path is given
- From: Cameron Hutchison
- Re: sh not finding a file, even though the full path is given
- From: Axel Etzold
- Re: sh not finding a file, even though the full path is given
- From: Axel Etzold
- Re: sh not finding a file, even though the full path is given
- From: Kim Briggs
- Re: sh not finding a file, even though the full path is given
- From: Axel Etzold
- sh not finding a file, even though the full path is given
- Prev by Date: Re: audio error in VLC
- Next by Date: Re: audio error in VLC
- Previous by thread: Re: sh not finding a file, even though the full path is given
- Next by thread: Re: sh not finding a file, even though the full path is given
- Index(es):