[SeaBIOS] [PATCH 1/2] scripts/acpi_*: use env python instead of python in shebang

Alexander Couzens lynxis at fe80.eu
Thu May 19 02:25:19 CEST 2016


python should be called via env to support virtualenvs

Signed-off-by: Alexander Couzens <lynxis at fe80.eu>
---
 scripts/acpi_extract.py            | 2 +-
 scripts/acpi_extract_preprocess.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/acpi_extract.py b/scripts/acpi_extract.py
index 3ed863b..baa6bec 100755
--- a/scripts/acpi_extract.py
+++ b/scripts/acpi_extract.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 # Copyright (C) 2011 Red Hat, Inc., Michael S. Tsirkin <mst at redhat.com>
 #
 # This file may be distributed under the terms of the GNU GPLv3 license.
diff --git a/scripts/acpi_extract_preprocess.py b/scripts/acpi_extract_preprocess.py
index 2698118..31913bd 100755
--- a/scripts/acpi_extract_preprocess.py
+++ b/scripts/acpi_extract_preprocess.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 # Copyright (C) 2011 Red Hat, Inc., Michael S. Tsirkin <mst at redhat.com>
 #
 # This file may be distributed under the terms of the GNU GPLv3 license.
-- 
2.8.2




More information about the SeaBIOS mailing list