]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Use /usr/bin/env python3 instead of /usr/bin/python3 project-wide
authorFox Wilson <2016fwilson@babbage.csl.tjhsst.edu>
Tue, 10 Nov 2015 20:00:25 +0000 (15:00 -0500)
committerStéphane Graber <stgraber@ubuntu.com>
Thu, 17 Nov 2016 22:18:54 +0000 (17:18 -0500)
This fixes invocations of certain commands when python3 is installed in
a nonstandard path (/usr/local/bin, for example).

Signed-off-by: Fox Wilson <2016fwilson@tjhsst.edu>
config/apparmor/lxc-generate-aa-rules.py
src/lxc/lxc-ls.in
src/lxc/lxc-start-ephemeral.in
src/python-lxc/examples/api_test.py
src/python-lxc/examples/pyconsole-vte.py
src/python-lxc/examples/pyconsole.py
src/python-lxc/setup.py.in

index 683f5fc6e0eaaade52eb7b42f6693281f700c131..d7c9a868e2d5cb956ea7fb40feabd29d436e1b3b 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
 
 import sys
 
index 377d7dfb073e1504243460cf577ac430ac5a0080..0bab8dcaae7126f6b1ccfb68dbed8f187c8b9f37 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
 #
 # lxc-ls: List containers
 #
index 69eca39571e4f2199bc80e3cce7a76f466e147f8..d8240ab0ddeca39cc3fcc69c5fb244457e1c3a02 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
 #
 # lxc-start-ephemeral: Start a copy of a container using an overlay
 #
index 2abbb435fbb5fbd2794f3f05b04a8bf330017164..eab4f46e3e29ad1874a1e5fb29df2f1c088ffe94 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
 #
 # api_test.py: Test/demo of the python3-lxc API
 #
index 89c3df72b36b40fd417d33960b70235ed773fd3e..8e07f15e054abaa08705d6a378d6c6fccd187019 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
 #
 # pyconsole-vte: Example program showing use of console functions
 #                in the lxc python binding
index d47b00b97e7aedc0912febad7be949889adf2a04..a9238a0343e7b593836d04a33e71259fe429c07c 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
 #
 # pyconsole: Example program showing use of console functions
 #            in the lxc python binding
index 3b4b1feec3bfe54417a7ec92525c077498a88947..fcb676eb5adc696cc98f6acb8aea68f8e3da66c3 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
 #
 # python-lxc: Python bindings for LXC
 #