setup-hooks using addToSearchPath
I've accidentially reverted setup-hooks while merging with trunk. Correcting it. svn path=/nixpkgs/branches/stdenv-updates/; revision=9821
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
addPythonPath() {
|
||||
local p=$1/lib/python2.4/site-packages
|
||||
if test -d $p; then
|
||||
export PYTHONPATH="${PYTHONPATH}${PYTHONPATH:+:}$p"
|
||||
fi
|
||||
addToSearchPathWithCustomDelimiter : PYTHONPATH /lib/python2.4/site-packages "" $1
|
||||
}
|
||||
|
||||
toPythonPath() {
|
||||
|
||||
Reference in New Issue
Block a user