[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] make all Python scripts executable
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH] make all Python scripts executable |
Date: |
Tue, 4 Feb 2020 19:18:21 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 |
On 2/4/20 5:02 PM, Paolo Bonzini wrote:
Scripts that have a Python shebang are meant to be executed directly from the
shell; give them 755 permissions.
Ah I should have done the chmod in my "Explicit usage of Python 3
(scripts with __main__)" patches, but I would have missed
scripts/signrom.py and tests/qemu-iotests/222.
Reviewed-by: Philippe Mathieu-Daude <address@hidden>
Based-on: <address@hidden>
Cc: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
---
scripts/minikconf.py | 0
scripts/signrom.py | 0
tests/qemu-iotests/222 | 0
tests/qemu-iotests/245 | 0
4 files changed, 0 insertions(+), 0 deletions(-)
mode change 100644 => 100755 scripts/minikconf.py
mode change 100644 => 100755 scripts/signrom.py
mode change 100644 => 100755 tests/qemu-iotests/222
mode change 100644 => 100755 tests/qemu-iotests/245
diff --git a/scripts/minikconf.py b/scripts/minikconf.py
old mode 100644
new mode 100755
diff --git a/scripts/signrom.py b/scripts/signrom.py
old mode 100644
new mode 100755
diff --git a/tests/qemu-iotests/222 b/tests/qemu-iotests/222
old mode 100644
new mode 100755
diff --git a/tests/qemu-iotests/245 b/tests/qemu-iotests/245
old mode 100644
new mode 100755
Thanks, patch applied to my python-next tree:
https://gitlab.com/philmd/qemu/commits/python-next