Commit 5bc14ce7 authored by Jordan Petridis's avatar Jordan Petridis 🌱 Committed by Debarshi Ray

tests: Respect the environment by using /usr/bin/env in the shebang

Distributors generally don't like /usr/bin/env [1] because they don't
want packaged applications to depend on the user's personal PATH.
However, distributors can, and they do, adjust the shebang to their
liking. So it seems better to optimize towards respecting any
customizations that a continuous integration/deployment system or a
contributor might have made to the environment.

[1] https://fedoraproject.org/wiki/Packaging:Guidelines#Shebang_lines

!46
parent 58fd1c56
#!/usr/bin/python3
#!/usr/bin/env python3
from testutil import *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment