From: Zooko O'Whielacronx <zooko@zooko.com>
Date: Sat, 22 Dec 2007 18:14:27 +0000 (-0700)
Subject: setup: fix bug in previous patch to include .egg's from CWD
X-Git-Tag: allmydata-tahoe-0.7.0~80
X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/file/URI:LIT:krugkidfnzsc4/%3C?a=commitdiff_plain;h=2ee424b3a362cd02d0f3cd1b61a351025a2e4400;p=tahoe-lafs%2Ftahoe-lafs.git

setup: fix bug in previous patch to include .egg's from CWD
---

diff --git a/misc/find-dep-eggs.py b/misc/find-dep-eggs.py
index ef6071ea..64028b32 100644
--- a/misc/find-dep-eggs.py
+++ b/misc/find-dep-eggs.py
@@ -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(support_lib, fn)))
+        path.append(os.path.abspath(os.path.join(os.get_cwd(), fn)))
 
 print os.pathsep.join(path)