qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] scripts: make sure scripts are invoked via $(PYTHON)


From: Richard Henderson
Subject: Re: [PATCH] scripts: make sure scripts are invoked via $(PYTHON)
Date: Thu, 18 May 2023 06:19:46 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0

On 5/18/23 04:33, Paolo Bonzini wrote:
Some scripts are invoked via the first "python3" binary in the PATH,
because they are executable and their shebang line is "#! /usr/bin/env
python3".  To enforce usage of $(PYTHON), make them nonexecutable.
Scripts invoked via meson need nothing else, and meson-buildoptions.py
is already using $(PYTHON).  For probe-gdb-support.py however the
invocation in the configure script has to be adjusted.

Signed-off-by: Paolo Bonzini<pbonzini@redhat.com>
---
  configure                     | 2 +-
  scripts/meson-buildoptions.py | 0
  scripts/modinfo-collect.py    | 0
  scripts/modinfo-generate.py   | 0
  scripts/probe-gdb-support.py  | 0
  5 files changed, 1 insertion(+), 1 deletion(-)
  mode change 100755 => 100644 scripts/meson-buildoptions.py
  mode change 100755 => 100644 scripts/modinfo-collect.py
  mode change 100755 => 100644 scripts/modinfo-generate.py
  mode change 100755 => 100644 scripts/probe-gdb-support.py

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]