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

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to