Skip to contentSkip to conversation

Fix: python invocation through env

PATCH New [email protected] 2 participants 4 messages Mar 27, 2014 – Apr 2, 2014 4 messages not in the archive

lore
Share & tools
lore
#1 lore raw

PATCH v2 1/1 Fix: python invocation through env

In reply to a message not in the archive

From: Jesper Derehag <[email protected]>

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(-)
tools/lttng-gen-tp +1 -1
index c49e8a5..a3a01f2 100755
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 #
 # Copyright (c)  2012 Yannick Brosseau <[email protected]>
 #
Signature · 1 line
1.7.9.5
#3 lore raw
In reply to a message not in the archive

For the next patches, please add a

Signed-off-by Name Lastname <email>

line at the end of the patch description to follow the LTTng project's use of developer's certificate of origin.

Please let me know if I can add your signed-off-by as:

to this patch so I can merge it.

If you wonder what it means, see:

http://elinux.org/Developer_Certificate_Of_Origin

Thanks!

Mathieu

----- Original Message -----

Quoted 34 lines

From: [email protected]
To: [email protected]
Sent: Thursday, March 27, 2014 3:57:06 AM
Subject: [lttng-dev] [PATCH v2 lttng-ust] Fix: python invocation through env

From: Jesper Derehag <[email protected]>

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(-)
tools/lttng-gen-tp +1 -2
index c49e8a5..a3a01f2 100755
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 #
 # Copyright (c)  2012 Yannick Brosseau <[email protected]>
 #
--

1.7.9.5

_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Signature · 3 lines
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
#5 lore raw
In reply to a message not in the archive

Yes of course.
I simply forgot to add it. (My following patch on backporting to glibc 2.8 have it already).

Quoted 57 lines

Date: Wed, 2 Apr 2014 16:34:56 +0000
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: Re: [lttng-dev] [PATCH v2 lttng-ust] Fix: python invocation through env

For the next patches, please add a

Signed-off-by Name Lastname <email>

line at the end of the patch description to follow the LTTng project's use of developer's certificate of origin.

Please let me know if I can add your signed-off-by as:

to this patch so I can merge it.

If you wonder what it means, see:

http://elinux.org/Developer_Certificate_Of_Origin

Thanks!

Mathieu

----- Original Message -----

Quoted 29 lines

From: [email protected]
To: [email protected]
Sent: Thursday, March 27, 2014 3:57:06 AM
Subject: [lttng-dev] [PATCH v2 lttng-ust] Fix: python invocation through env

From: Jesper Derehag <[email protected]>

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(-)
tools/lttng-gen-tp +1 -2
index c49e8a5..a3a01f2 100755
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 #
 # Copyright (c)  2012 Yannick Brosseau <[email protected]>
 #
--

1.7.9.5

Quoted 10 lines
Quoted 5 lines

_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Signature · 3 lines
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com

_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

#7 lore raw
In reply to a message not in the archive

Allright, merged.

Thanks!

Mathieu

----- Original Message -----

Quoted 80 lines

From: "Jesper Derehag" <[email protected]>
To: "mathieu desnoyers" <[email protected]>
Cc: [email protected]
Sent: Wednesday, April 2, 2014 3:57:10 PM
Subject: RE: [lttng-dev] [PATCH v2 lttng-ust] Fix: python invocation through env

Yes of course.
I simply forgot to add it. (My following patch on backporting to glibc 2.8 have it already).

Quoted 69 lines

Date: Wed, 2 Apr 2014 16:34:56 +0000
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: Re: [lttng-dev] [PATCH v2 lttng-ust] Fix: python invocation through env

For the next patches, please add a

Signed-off-by Name Lastname <email>

line at the end of the patch description to follow the LTTng project's use of developer's certificate of origin.

Please let me know if I can add your signed-off-by as:

to this patch so I can merge it.

If you wonder what it means, see:

http://elinux.org/Developer_Certificate_Of_Origin

Thanks!

Mathieu

----- Original Message -----

Quoted 30 lines

From: [email protected]
To: [email protected]
Sent: Thursday, March 27, 2014 3:57:06 AM
Subject: [lttng-dev] [PATCH v2 lttng-ust] Fix: python invocation through env

From: Jesper Derehag <[email protected]>

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(-)
tools/lttng-gen-tp +1 -2
index c49e8a5..a3a01f2 100755
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 #
 # Copyright (c) 2012 Yannick Brosseau <[email protected]>
 #
--

1.7.9.5

Quoted 5 lines

_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

--
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com

Signature · 3 lines
Mathieu Desnoyers 
EfficiOS Inc. 
http://www.efficios.com 

_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev