pkgs/development/interpreters/python/3.1/setup-hook.sh: fixed bogus version number
svn path=/nixpkgs/trunk/; revision=25752
This commit is contained in:
parent
c80d448a64
commit
4685f4b74e
@ -1,12 +1,12 @@
|
|||||||
addPythonPath() {
|
addPythonPath() {
|
||||||
addToSearchPathWithCustomDelimiter : PYTHONPATH $1/lib/python2.6/site-packages
|
addToSearchPathWithCustomDelimiter : PYTHONPATH $1/lib/python3.1/site-packages
|
||||||
}
|
}
|
||||||
|
|
||||||
toPythonPath() {
|
toPythonPath() {
|
||||||
local paths="$1"
|
local paths="$1"
|
||||||
local result=
|
local result=
|
||||||
for i in $paths; do
|
for i in $paths; do
|
||||||
p="$i/lib/python2.6/site-packages"
|
p="$i/lib/python3.1/site-packages"
|
||||||
result="${result}${result:+:}$p"
|
result="${result}${result:+:}$p"
|
||||||
done
|
done
|
||||||
echo $result
|
echo $result
|
||||||
|
Loading…
x
Reference in New Issue
Block a user