Browse Source

Use env to find python3

Our container doesn't have python3 at /usr/bin/python3. This
changes the script so that /usr/bin/env is used to find python3.

For discussion/opinions about how (and the better way) to locate
python3:

- https://developpaper.com/the-difference-between-usr-bin-python-and-usr-bin-env-python-in-python/
- https://stackoverflow.com/questions/13879569/usr-bin-python-and-usr-bin-env-python-which-support

Change-Id: I88cab53244913b5c9bfce6729f38f93a57ddbe80
changes/05/796305/1
Ruby Loo 2 months ago
parent
commit
7507dec09f
  1. 2
      tools/check-releasenotes.py

2
tools/check-releasenotes.py

@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3
# Copyright (c) 2017 Intel Corporation
#

Loading…
Cancel
Save