Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please make all python shebang lines use /usr/bin/env #97

Open
yurivict opened this issue Dec 7, 2021 · 1 comment
Open

Please make all python shebang lines use /usr/bin/env #97

yurivict opened this issue Dec 7, 2021 · 1 comment

Comments

@yurivict
Copy link

yurivict commented Dec 7, 2021

Currently they are different:

$ grep python /disk-samsung/freebsd-ports/audio/guitarix-lv2/work/guitarix-0.43.0/tools/* | grep bin
/disk-samsung/freebsd-ports/audio/guitarix-lv2/work/guitarix-0.43.0/tools/check_rpc:#! /usr/bin/env python
/disk-samsung/freebsd-ports/audio/guitarix-lv2/work/guitarix-0.43.0/tools/convert-0.06-format:#! /usr/bin/env python
/disk-samsung/freebsd-ports/audio/guitarix-lv2/work/guitarix-0.43.0/tools/coverage:#! /usr/bin/python
/disk-samsung/freebsd-ports/audio/guitarix-lv2/work/guitarix-0.43.0/tools/dsp2cc:#! /usr/bin/python
/disk-samsung/freebsd-ports/audio/guitarix-lv2/work/guitarix-0.43.0/tools/dsp2insert:#! /usr/bin/python
/disk-samsung/freebsd-ports/audio/guitarix-lv2/work/guitarix-0.43.0/tools/dsp2insert:#! /usr/bin/python
/disk-samsung/freebsd-ports/audio/guitarix-lv2/work/guitarix-0.43.0/tools/gcov.py:#! /usr/bin/env python
/disk-samsung/freebsd-ports/audio/guitarix-lv2/work/guitarix-0.43.0/tools/make_jsonrpc_methods:#! /usr/bin/env python
/disk-samsung/freebsd-ports/audio/guitarix-lv2/work/guitarix-0.43.0/tools/tube_transfer.py:#!/usr/bin/python3
/disk-samsung/freebsd-ports/audio/guitarix-lv2/work/guitarix-0.43.0/tools/undiag:#! /usr/bin/env python

IMO, the preferred form should be

#!/usr/bin/env python3

@brummer10
Copy link
Owner

Hi yuri
Those are all developer tools, which you barley needs to use or distribute within a distribution package.
However, you are right, sooner or later we need to follow that advice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants