]> git.proxmox.com Git - mirror_qemu.git/commit
scripts: make sure scripts are invoked via $(PYTHON)
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 18 May 2023 09:27:39 +0000 (11:27 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 19 May 2023 18:40:29 +0000 (20:40 +0200)
commit4b424c757188f7a47630a4d8edcf4ad9f19255bc
tree23d69d1f61965897aa42489fcb9a244f287d763d
parent9fd9f3952f20046dd454f85dc46c9d13af50c700
scripts: make sure scripts are invoked via $(PYTHON)

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.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
configure
scripts/meson-buildoptions.py [changed mode: 0755->0644]
scripts/modinfo-collect.py [changed mode: 0755->0644]
scripts/modinfo-generate.py [changed mode: 0755->0644]
scripts/probe-gdb-support.py [changed mode: 0755->0644]