Index: ensure_dependencies.py |
diff --git a/ensure_dependencies.py b/ensure_dependencies.py |
index 1b68854fee4ce72198c6ebc5ee0403135e68098e..2065f93d986646aa23ff94ccc82fcedceaf24d22 100755 |
--- a/ensure_dependencies.py |
+++ b/ensure_dependencies.py |
@@ -126,7 +126,7 @@ class Git(): |
subprocess.check_call(["git", "checkout", "--quiet", rev], cwd=repo) |
def ignore(self, target, repo): |
- module = os.path.relpath(target, repo) |
+ module = os.path.sep + os.path.relpath(target, repo) |
exclude_file = os.path.join(repo, ".git", "info", "exclude") |
_ensure_line_exists(exclude_file, module) |