11 Sep
2019
11 Sep
'19
8:54 a.m.
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@dominig-t480:~/starlingx/git> grep -R --exclude-dir=.* -F '#!/usr/bin/env' * |wc -l 589
Only for python 301 dominig@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