qemu/0032-scripts-avoid-usr-bin-python-refere.patch

22 lines
741 B
Diff

From d14c342fa04004f66197adabc16d8678227b3b8e Mon Sep 17 00:00:00 2001
From: Bruce Rogers <brogers@suse.com>
Date: Wed, 29 Nov 2017 10:30:02 -0700
Subject: [PATCH] scripts: avoid /usr/bin/python reference in
vmstate-static-checker.py
Signed-off-by: Bruce Rogers <brogers@suse.com>
---
scripts/vmstate-static-checker.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/vmstate-static-checker.py b/scripts/vmstate-static-checker.py
index bcef7ee28e..c1653ea173 100755
--- a/scripts/vmstate-static-checker.py
+++ b/scripts/vmstate-static-checker.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
#
# Compares vmstate information stored in JSON format, obtained from
# the -dump-vmstate QEMU command.