From 7507dec09f5bd83be551e2e97504b64dfb1ddb15 Mon Sep 17 00:00:00 2001 From: Ruby Loo Date: Mon, 14 Jun 2021 17:02:54 +0000 Subject: [PATCH] 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 --- tools/check-releasenotes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/check-releasenotes.py b/tools/check-releasenotes.py index 58a6bbf67d..a69ff97675 100755 --- a/tools/check-releasenotes.py +++ b/tools/check-releasenotes.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 # Copyright (c) 2017 Intel Corporation #