3
0
Fork 0
forked from mirrors/nixpkgs

don't wrap scripts in EGG-INFO/scripts since they are called from python

This commit is contained in:
Domen Kozar 2013-07-29 19:31:58 +02:00
parent 4f5960e20d
commit 7458f29dc9

View file

@ -23,11 +23,14 @@ wrapPythonProgramsIn() {
fi
if head -n1 "$i" | grep -q /python; then
# dont wrap EGG-INFO scripts since they are called from python
if echo "$i" | grep -v EGG-INFO/scripts; then
echo "wrapping \`$i'..."
wrapProgram "$i" \
--prefix PYTHONPATH ":" $program_PYTHONPATH \
--prefix PATH ":" $program_PATH
fi
fi
done
}