git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build: Remove workaround for missing os.path.relpath in Python < 2.6
[samba.git]
/
buildtools
/
wafsamba
/
samba_dist.py
diff --git
a/buildtools/wafsamba/samba_dist.py
b/buildtools/wafsamba/samba_dist.py
index 6af7bb4eaff7cca61e933a7cff6f0518005c9181..c211a94d3db3f65ada08aa1c431f5015e7c2b669 100644
(file)
--- a/
buildtools/wafsamba/samba_dist.py
+++ b/
buildtools/wafsamba/samba_dist.py
@@
-4,7
+4,7
@@
import os, sys, tarfile
from waflib import Utils, Scripting, Logs, Options
from waflib.Configure import conf
import os, sys, tarfile
from waflib import Utils, Scripting, Logs, Options
from waflib.Configure import conf
-from samba_utils import
os_path_relpath,
get_string
+from samba_utils import get_string
from waflib import Context
dist_dirs = None
from waflib import Context
dist_dirs = None
@@
-111,7
+111,7
@@
def vcs_dir_contents(path):
while repo != "/":
if os.path.isdir(os.path.join(repo, ".git")):
ls_files_cmd = [ 'git', 'ls-files', '--full-name',
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")
cwd = None
env = dict(os.environ)
env["GIT_DIR"] = os.path.join(repo, ".git")