summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/samba_dist.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/wafsamba/samba_dist.py')
-rw-r--r--buildtools/wafsamba/samba_dist.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildtools/wafsamba/samba_dist.py b/buildtools/wafsamba/samba_dist.py
index d2be291703..a11a37cc1b 100644
--- a/buildtools/wafsamba/samba_dist.py
+++ b/buildtools/wafsamba/samba_dist.py
@@ -80,14 +80,14 @@ def vcs_dir_contents(path):
while repo != "/":
if os.path.isdir(os.path.join(repo, ".git")):
ls_files_cmd = [ 'git', 'ls-files', '--full-name',
- os.path.relpath(path, repo) ]
+ os_path_relpath(path, repo) ]
cwd = None
env = dict(os.environ)
env["GIT_DIR"] = os.path.join(repo, ".git")
break
elif os.path.isdir(os.path.join(repo, ".bzr")):
ls_files_cmd = [ 'bzr', 'ls', '--recursive', '--versioned',
- os.path.relpath(path, repo)]
+ os_path_relpath(path, repo)]
cwd = repo
env = None
break