Files
nixpkgs/pkgs/development/python-modules
aszlig 5f01cc70d3 python-wrapper: Fix fixup for wrapped argv[0].
Fixes issues introduced by 24ef871e6a.

The problem here is that "import sys; sys.argv[0] = ..." is just
appended after the first "#!", which in turn breaks things such as
encoding specifications. A second problem - although not very common -
is when there's another #! within the script.

This should take care of both cases.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2014-07-28 04:18:21 +02:00
..
2014-06-22 20:52:52 +02:00
2013-11-17 15:10:46 +01:00
2014-03-23 11:22:57 -04:00
2013-07-14 04:17:07 +03:00
2014-02-02 14:54:40 +01:00
2013-07-04 18:16:34 +02:00
2014-05-13 16:11:06 +02:00
2013-10-06 12:01:38 +02:00
2014-03-07 14:34:06 +01:00
2014-03-24 00:16:42 -04:00
2014-07-05 21:41:04 +02:00
2013-07-14 04:17:07 +03:00