pkgs/development/interpreters/python/2.7/setup-hook.sh: fixed incorrect version number

svn path=/nixpkgs/trunk/; revision=23121
This commit is contained in:
Peter Simons 2010-08-11 17:05:44 +00:00
parent de3531c2d5
commit 3658a8b040

View file

@ -1,12 +1,12 @@
addPythonPath() { addPythonPath() {
addToSearchPathWithCustomDelimiter : PYTHONPATH $1/lib/python2.6/site-packages addToSearchPathWithCustomDelimiter : PYTHONPATH $1/lib/python2.7/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/python2.7/site-packages"
result="${result}${result:+:}$p" result="${result}${result:+:}$p"
done done
echo $result echo $result