diff options
author | Andrew Bartlett <abartlet@samba.org> | 2018-08-17 09:39:46 +1200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2018-08-16 23:42:19 +0200 |
commit | 739691fd1e34fda0280d068e1693fa6a2c61f9b6 (patch) | |
tree | a0967837df2acb79f80fbb84c040747878494e6e | |
parent | f249bea1e0538300288e7cf1dcb6037c45f92276 (diff) | |
download | samba-739691fd1e34fda0280d068e1693fa6a2c61f9b6.tar.gz |
buildtools: Split git ls-files output on newline, not any whitespace
This allows files to have a space in the filename within the Samba git tree.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
-rw-r--r-- | buildtools/wafsamba/samba_dist.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafsamba/samba_dist.py b/buildtools/wafsamba/samba_dist.py index 8d516320a25..5c931a9974d 100644 --- a/buildtools/wafsamba/samba_dist.py +++ b/buildtools/wafsamba/samba_dist.py @@ -91,7 +91,7 @@ def vcs_dir_contents(path): repo = os.path.dirname(repo) if repo == "/": raise Exception("unsupported or no vcs for %s" % path) - return Utils.cmd_output(ls_files_cmd, cwd=cwd, env=env).split() + return Utils.cmd_output(ls_files_cmd, cwd=cwd, env=env).split('\n') def dist(appname='', version=''): |