Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jan 2008 17:29:24 +0100 (CET)
From:      Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
To:        Derek Ragona <derek@computinginnovations.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: MAGIC: /usr/local/bin/bash: bad interpreter: Permission denied
Message-ID:  <20080129172711.K3461@wojtek.tensor.gdynia.pl>
In-Reply-To: <6.0.0.22.2.20080129102333.0251df38@mail.computinginnovations.com>
References:  <20080129115936.Y2421@wojtek.tensor.gdynia.pl> <6.0.0.22.2.20080129094553.0250ce68@mail.computinginnovations.com> <20080129171004.L3385@wojtek.tensor.gdynia.pl> <6.0.0.22.2.20080129102333.0251df38@mail.computinginnovations.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>
> Check your script then, add:
> set -x
> near the top and see where it is complaining.
>
as i don't understand clearly where this set -x should be, i try 2 times:

1)

$ cat 1
#!/usr/local/bin/bash
echo abc
$ set -x
$ ./1
+ ./1
-bash: ./1: /usr/local/bin/bash: bad interpreter: Permission denied

2)

$ cat 1
#!/usr/local/bin/bash
set -x
echo abc
$ ./1
-bash: ./1: /usr/local/bin/bash: bad interpreter: Permission denied




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080129172711.K3461>