diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-12-30 16:49:40 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-12-30 16:49:40 +0100 |
| commit | f0884c529c1eeee444a31040ca75b711702efb5c (patch) | |
| tree | 06fe36d558e0cc57062cdf21fbd014193af6800d | |
| parent | 32bc904578b7bc5957da453c777c1b091a6d7f34 (diff) | |
Use .tar.zst not .zst for zstd tarballs.
| -rwxr-xr-x | cdist | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -910,8 +910,8 @@ class SourceTarget(Target): bz2 = os.path.abspath('%s-%s.tar.bz2' % (name, tree.version)) copyfile(bz2, os.path.join(output_dir, os.path.basename(devel_to_git(tree.commit, bz2)))) command('tar xjf %s' % bz2) - command('tar --zstd -cf %s-%s.zst %s-%s' % (name, tree.version, name, tree.version)) - zstd = os.path.abspath('%s-%s.zst' % (name, tree.version)) + command('tar --zstd -cf %s-%s.tar.zst %s-%s' % (name, tree.version, name, tree.version)) + zstd = os.path.abspath('%s-%s.tar.zst' % (name, tree.version)) copyfile(zstd, os.path.join(output_dir, os.path.basename(devel_to_git(tree.commit, zstd)))) # @param s Target string: |
