The original bunzip didn't like the `ln ceph-$ceph_version_tarball.$extension dist/` hard link.
bunzip2 refuses to decompress in-place when a file has multiple hard links, because doing so would silently corrupt the other link
Signed-off-by: David Galloway <david.galloway@ibm.com>
echo "Creating tar.gz for upstream release"
pushd dist
- bunzip2 ceph-$ceph_version_tarball.$extension
- gzip ceph-$ceph_version_tarball.tar.gz
+ bzip2 -dc ceph-$ceph_version_tarball.$extension | gzip > ceph-$ceph_version_tarball.tar.gz
popd
else
echo "BRANCH=${BRANCH}" > dist/branch