blob: 19b8892ee314a2be4c5530a39428c7f8f6447dcc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
Avoid rewriting the shebang.
The ebuild will take care of this when replicating the script for each of the
supported python implementations.
--- a/python-tools-setup.py
+++ b/python-tools-setup.py
@@ -43,7 +43,7 @@
f = prefix + s
# If we have a defined python version, use it instead of the system
# default
- if 'PYTHON' in os.environ:
+ if False:
lines = open(os.path.basename(s)).readlines()
lines[0] = '#! /usr/bin/env %s\n' % os.environ['PYTHON']
open(f, 'w').write("".join(lines))
|