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() {
|
||||
addToSearchPathWithCustomDelimiter : PYTHONPATH $1/lib/python2.6/site-packages
|
||||
addToSearchPathWithCustomDelimiter : PYTHONPATH $1/lib/python3.1/site-packages
|
||||
}
|
||||
|
||||
toPythonPath() {
|
||||
local paths="$1"
|
||||
local result=
|
||||
for i in $paths; do
|
||||
p="$i/lib/python2.6/site-packages"
|
||||
p="$i/lib/python3.1/site-packages"
|
||||
result="${result}${result:+:}$p"
|
||||
done
|
||||
echo $result
|
||||
|
Loading…
Reference in New Issue
Block a user