[LTP] [PATCH 1/2] *.py: Replace '#!/usr/bin/python3' with '#!/usr/bin/env python3'
Wed May 2 17:37:06 CEST 2018
> > > Couldn't it be solved by simple creating manually symlink python3 to /usr/bin ?
> > > I'm not against changing schebang to using env, if causing troubles.
> > > Cyril, what do you think?
> > Well if it's causing problems for our users we should go ahead and
> > change the shebangs to /usr/bin/env python3.
> Simple linking solves that:
> # ln -s /usr/local/bin/python3 /usr/bin
> And this problem occurs only if you compile python3 from sources (and there are packages for
> all major distros, including RHEL 6.9, which Xiao used - in his case it's EPEL repository).
> Still want to me to change shebang to '/usr/bin/env python3' ?
Acked by Cyril => merged.
Thanks for your time!
More information about the ltp