aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2023-10-16 11:49:17 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2023-10-17 15:20:53 +0200
commitd7fd737bf478f37fbd5a140599e022127c9a650d (patch)
treea7cd5417f64946e1e083bd19cd75f1d85af1411f /scripts
parenta6b75c9f6788db93769f0598a467a23befe30573 (diff)
scripts: Mark feature_to_c.py as non-executable to fix a build issue
Meson tries to run scripts via the shebang line if they files are marked as executable. If "python3" is not in the $PATH, or if it is a version that is too old, then the script execution fails. We should make sure to run scripts via the python3 interpreter that is used for Meson itself. For this, the files need to be marked as non-executable, then meson will use the python3 binary that has been used to run itself. Fixes: 956af7daad ("gdbstub: Introduce GDBFeature structure") Signed-off-by: Thomas Huth <thuth@redhat.com> Message-ID: <20231016094917.19044-1-thuth@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts')
-rw-r--r--[-rwxr-xr-x]scripts/feature_to_c.py0
1 files changed, 0 insertions, 0 deletions
diff --git a/scripts/feature_to_c.py b/scripts/feature_to_c.py
index bcbcb83beb..bcbcb83beb 100755..100644
--- a/scripts/feature_to_c.py
+++ b/scripts/feature_to_c.py