[Starlingx-discuss] MultiOS: call of python via #!/usr/bin/env
Dominig ar Foll (Intel Open Source)
dominig.arfoll at fridu.net
Wed Sep 11 15:54:12 UTC 2019
On 11/09/2019 16:54, Victor Rodriguez wrote:
>
> So we agree that either #!/usr/bin/python2 or #!/usr/bin/python3 is
> better than #!/usr/bin/env . Am I right ?
> how many files needs this change ?
Unfortunately that trick has been used a lot. It was obviously systematic.
for all script calls 589
dominig at dominig-t480:~/starlingx/git> grep -R --exclude-dir=\.* -F
'#!/usr/bin/env' * |wc -l
589
Only for python 301
dominig at dominig-t480:~/starlingx/git> grep -R --exclude-dir=\.* -F
'#!/usr/bin/env python' * |wc -l
301
--
Dominig ar Foll
Senior Software Architect
Intel Open Source Technology Centre
More information about the Starlingx-discuss
mailing list