pkgs/development/interpreters/python/3.1/setup-hook.sh: fixed bogus version number

svn path=/nixpkgs/trunk/; revision=25752
This commit is contained in:
Peter Simons 2011-02-02 11:16:45 +00:00
parent c80d448a64
commit 4685f4b74e

View File

@ -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