Bundlebuilder: Don't include whole directory in src tarball
regression introduced by #397
This commit is contained in:
parent
856a83a2da
commit
720401606d
@ -213,7 +213,7 @@ class SourcePackager(Packager):
|
|||||||
return list_files(self.config.source_dir,
|
return list_files(self.config.source_dir,
|
||||||
IGNORE_DIRS, IGNORE_FILES)
|
IGNORE_DIRS, IGNORE_FILES)
|
||||||
|
|
||||||
return [path.strip() for path in '\n'.split(stdout)]
|
return [path.strip() for path in stdout.strip('\n').split('\n')]
|
||||||
|
|
||||||
def package(self):
|
def package(self):
|
||||||
tar = tarfile.open(self.package_path, 'w:bz2')
|
tar = tarfile.open(self.package_path, 'w:bz2')
|
||||||
|
Loading…
Reference in New Issue
Block a user