Use git ls-files instead of git-ls-files, to work with newer Git. d.sl.o #647
This commit is contained in:
parent
720401606d
commit
366b07e73a
@ -205,7 +205,7 @@ class SourcePackager(Packager):
|
||||
self.config.tar_name)
|
||||
|
||||
def get_files(self):
|
||||
git_ls = subprocess.Popen('git-ls-files', stdout=subprocess.PIPE,
|
||||
git_ls = subprocess.Popen(['git', 'ls-files'], stdout=subprocess.PIPE,
|
||||
cwd=self.config.source_dir)
|
||||
stdout, _ = git_ls.communicate()
|
||||
if git_ls.returncode :
|
||||
|
Loading…
Reference in New Issue
Block a user