* Revert the setup hook changes on the trunk (but they remain on the

stdenv-updates branch).

svn path=/nixpkgs/trunk/; revision=9652
This commit is contained in:
Eelco Dolstra
2007-11-12 13:51:46 +00:00
parent 93ce7c7a69
commit 7a424b47f6
11 changed files with 42 additions and 30 deletions

View File

@@ -1,5 +1,8 @@
addPythonPath() {
addToSearchPathWithCustomDelimiter : PYTHONPATH /lib/python2.5/site-packages "" $1
local p=$1/lib/python2.5/site-packages
if test -d $p; then
export PYTHONPATH="${PYTHONPATH}${PYTHONPATH:+:}$p"
fi
}
toPythonPath() {

View File

@@ -1,5 +1,8 @@
addPythonPath() {
addToSearchPathWithCustomDelimiter : PYTHONPATH /lib/python2.4/site-packages "" $1
local p=$1/lib/python2.4/site-packages
if test -d $p; then
export PYTHONPATH="${PYTHONPATH}${PYTHONPATH:+:}$p"
fi
}
toPythonPath() {