Use git ls-files instead of git-ls-files, to work with newer Git. d.sl.o #647

This commit is contained in:
Sayamindu Dasgupta 2009-03-26 23:45:39 +05:30
parent 720401606d
commit 366b07e73a

View File

@ -205,7 +205,7 @@ class SourcePackager(Packager):
self.config.tar_name) self.config.tar_name)
def get_files(self): 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) cwd=self.config.source_dir)
stdout, _ = git_ls.communicate() stdout, _ = git_ls.communicate()
if git_ls.returncode : if git_ls.returncode :