Index: ensure_dependencies.py |
=================================================================== |
--- a/ensure_dependencies.py |
+++ b/ensure_dependencies.py |
@@ -275,11 +275,11 @@ def _ensure_line_exists(path, pattern): |
f.truncate() |
for l in file_content: |
print >>f, l |
if __name__ == "__main__": |
logging.basicConfig(format='%(levelname)s: %(message)s', level=logging.INFO) |
repos = sys.argv[1:] |
if not len(repos): |
- repos = [os.getcwd()] |
+ repos = [os.path.dirname(__file__)] |
for repo in repos: |
resolve_deps(repo) |