Fix: python invocation through env
authorJesper Derehag <jderehag@hotmail.com>
Thu, 27 Mar 2014 07:57:06 +0000 (08:57 +0100)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 2 Apr 2014 21:31:10 +0000 (17:31 -0400)
This modification calls the interpreter through env instead of
directly, which should be more portable for those distros which do not install
python into /usr/bin/.

Signed-off-by: Jesper Derehag <jderehag@hotmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
tools/lttng-gen-tp

index c49e8a52355f44e7ded0abcce24acf3836e5ee3e..a3a01f27c033101e87f4a879c032fcab095bd8e7 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 #
 # Copyright (c)  2012 Yannick Brosseau <yannick.brosseau@gmail.com>
 #
This page took 0.0254 seconds and 4 git commands to generate.