Fix PYTHONPATH adjustments to only insert a colon when necessary. This
authorZac Medico <zmedico@gentoo.org>
Sat, 13 Sep 2008 23:21:43 +0000 (23:21 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 13 Sep 2008 23:21:43 +0000 (23:21 -0000)
commita2a1a26a9f4f4c800f5211f1c7f419996add007e
tree6197513a18e3f7b1c334fc0167eeac75ccd79c68
parentdbbcb19507c558ba7e14e42b62f58cb0dcae39a9
Fix PYTHONPATH adjustments to only insert a colon when necessary. This
is necessary since having a stray colon causes python to interpret the
empty path entry as "." which triggers the following message if cwd
happens to contain a directory names "os":

 warning: Not importing directory 'os': missing __init__.py

Thanks to Joe Peterson <lavajoe@g.o> for reporting.

svn path=/main/trunk/; revision=11511
bin/ebuild.sh