setup: fix bug in bugfix to patch to include .egg's found in CWD

This commit is contained in:
Zooko O'Whielacronx 2007-12-22 11:19:52 -07:00
parent 2ee424b3a3
commit bfc69178b2

View File

@ -18,6 +18,6 @@ if os.path.exists(support_lib):
# libraries that we've installed if *they* require them.
for fn in os.listdir("."):
if fn.endswith(".egg"):
path.append(os.path.abspath(os.path.join(os.get_cwd(), fn)))
path.append(os.path.abspath(os.path.join(os.getcwd(), fn)))
print os.pathsep.join(path)