aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2023-10-06 06:52:56 +0200
committerMichael Tokarev <mjt@tls.msk.ru>2023-10-12 00:37:39 +0300
commit0848ca87b76b21639f314bd348ae8470db5b22e2 (patch)
tree6cbca8271d888fee3539c500c33cbe07bc997e81
parent17b8d8ac3309e2cfed0d8cb3861afdcc23f66ce0 (diff)
downloadqemu-0848ca87b76b21639f314bd348ae8470db5b22e2.zip
qemu-0848ca87b76b21639f314bd348ae8470db5b22e2.tar.gz
qemu-0848ca87b76b21639f314bd348ae8470db5b22e2.tar.bz2
scripts/xml-preprocess: Make sure this script is invoked via the right Python
If a script is executable and has a shebang line, Meson treats it as a normal executable, so that this script here is run via the "python3" binary in the $PATH. However, "python3" might not be in the $PATH at all, or it might be a wrong version, so we should make sure to run this script via the Python version that has been chosen for the QEMU build process. The best way to do this is to remove the executable bit from the access mode bits. (See also commit 4b424c757188f7a4) Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1918 Signed-off-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
-rw-r--r--[-rwxr-xr-x]scripts/xml-preprocess.py0
1 files changed, 0 insertions, 0 deletions
diff --git a/scripts/xml-preprocess.py b/scripts/xml-preprocess.py
index 57f1d28..57f1d28 100755..100644
--- a/scripts/xml-preprocess.py
+++ b/scripts/xml-preprocess.py