Skip to contentSkip to conversation

scripts: Mark feature_to_c.py as non-executable to fix a build issue

PATCH Applied Thomas Huth 2 participants 2 messages Oct 16, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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")
---
 scripts/feature_to_c.py | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 mode change 100755 => 100644 scripts/feature_to_c.py
scripts/feature_to_c.py +0 -0
old mode 100755
new mode 100644
Signature · 1 line
2.41.0