Tuesday, October 30, 2018

Re: 6.4 doas gives "command not found" if no #!/bin/sh up top

Hi all,

>>> Derek wrote:
>>>> Adding a "#!/bin/sh" at the top of the scripts made them all work again.

it seems this is also happening with python scripts even you have
shebang. To solve this you should change lines like

#!/usr/local/bin/python

to

#!/usr/bin/env python

after this change was made doas worked as expected with the script

regards

--
Markus Rosjat fon: +49 351 8107224 mail: rosjat@ghweb.de

G+H Webservice GbR Gorzolla, Herrmann
Königsbrücker Str. 70, 01099 Dresden

http://www.ghweb.de
fon: +49 351 8107220 fax: +49 351 8107227

Bitte prüfen Sie, ob diese Mail wirklich ausgedruckt werden muss! Before you print it, think about your responsibility and commitment to the ENVIRONMENT

No comments:

Post a Comment