]> git.proxmox.com Git - mirror_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)
committerFox Wilson <2016fwilson@babbage.csl.tjhsst.edu>
Tue, 10 Nov 2015 20:53:33 +0000 (15:53 -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 280f48b97c5fde827d7635d2624e2b93453f051c..25a3926cc51ca65542c871d561e667ab2468a965 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
 #
 # lxc-ls: List containers
 #
index 4f7627c07ba305bb31d2506ebe252da1370e00dc..8d33775b8605354f4e1e7b9fb5a8894a5e8ff7bb 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
 #