fix pth files

This commit is contained in:
Florian Friesdorf 2012-07-22 02:07:23 +02:00
parent a40da09b44
commit f8d3671629

View File

@ -52,7 +52,8 @@ createBuildInputsPth() {
if [ foo"$inputs" != foo ]; then if [ foo"$inputs" != foo ]; then
for x in $inputs; do for x in $inputs; do
if test -d "$x"/lib/@libPrefix@/site-packages; then if test -d "$x"/lib/@libPrefix@/site-packages; then
echo $x >> "$out"/lib/@libPrefix@/site-packages/${name}-nix-python-$category.pth echo $x/lib/@libPrefix@/site-packages \
>> "$out"/lib/@libPrefix@/site-packages/${name}-nix-python-$category.pth
fi fi
done done
fi fi