[Pkg-mozext-commits] [adblock-plus] 37/52: Issue 1806 - ensure_dependencies.py should update its own directory by default, not current work dir
David Prévot
taffit at moszumanska.debian.org
Thu Jan 22 21:43:47 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository adblock-plus.
commit b8cc6c5d36b8b690f04bf16fd83665721be435bd
Author: Wladimir Palant <trev at adblockplus.org>
Date: Wed Jan 14 21:48:57 2015 +0100
Issue 1806 - ensure_dependencies.py should update its own directory by default, not current work dir
--HG--
extra : amend_source : 0f76d95d4996d4f8c9781de6be56bae77c2d4827
---
ensure_dependencies.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ensure_dependencies.py b/ensure_dependencies.py
index a6ae401..f4dac11 100755
--- a/ensure_dependencies.py
+++ b/ensure_dependencies.py
@@ -280,6 +280,6 @@ 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)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus.git
More information about the Pkg-mozext-commits
mailing list