[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[task #15682] maneage-lint: check for host system shebang lines in execu
From: |
Boud Roukema |
Subject: |
[task #15682] maneage-lint: check for host system shebang lines in executable scripts |
Date: |
Tue, 9 Jun 2020 17:21:49 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 |
Follow-up Comment #4, task #15682 (project reproduce):
[comment #3 comment #3:]
> The reason is that within the project's Make (as called in the top-level
'project' script) we completely close-off the host's environment and have our
own PATH. So 'env PROGNAME' should expand to the PROGNAME in Maneage, right?
Even if 'env' doesn't belong to Maneage itself.
I don't think that _expand_ is the right word; the effect is that the
environment variables from the environment are used. When running a make rule
from inside our .mk files, we have PATH=.local/bin . So the behaviour should
be something like this:
$ cat .local/bin/dummy
#!/usr/bin/env bash
printf "${BASH_VERSION}\n\n"
$ PATH=.local/bin dummy
5.0.11(1)-release
$ .local/bin/dummy
4.4.12(1)-release
_______________________________________________________
Reply to this item at:
<https://savannah.nongnu.org/task/?15682>
_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/