[lttng-dev] [PATCH v2 lttng-ust] Fix: python invocation through env

jderehag at hotmail.com jderehag at hotmail.com
Thu Mar 27 03:57:06 EDT 2014


From: Jesper Derehag <jderehag at hotmail.com>

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/.
---
 tools/lttng-gen-tp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/lttng-gen-tp b/tools/lttng-gen-tp
index c49e8a5..a3a01f2 100755
--- a/tools/lttng-gen-tp
+++ b/tools/lttng-gen-tp
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 #
 # Copyright (c)  2012 Yannick Brosseau <yannick.brosseau at gmail.com>
 #
-- 
1.7.9.5




More information about the lttng-dev mailing list