[dbus PATCH] tests: Fix sha-bang for test_interface.py

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We need to call python3 through /usr/bin/env so that
the script will work on platforms, such as FreeBSD, where
the interpreter is installed under a different path.

Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx>
---
Pushed under the build-breaker rule.

 tests/test_interface.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/test_interface.py b/tests/test_interface.py
index 9503eef..3b8b344 100755
--- a/tests/test_interface.py
+++ b/tests/test_interface.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
 
 import dbus
 import libvirttest
-- 
2.17.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux