Properly compress tarball

This commit is contained in:
Marian Koncek 2020-01-24 16:58:38 +01:00
parent 49f296cafa
commit efe486106b

View File

@ -9,7 +9,7 @@ wget "https://github.com/raphw/byte-buddy/archive/${name}-${version}.tar.gz" -O
rm -rf tarball-tmp
mkdir tarball-tmp
cd tarball-tmp
pushd tarball-tmp
tar xf "../${name}-${version}.orig.tar.gz"
# CLEAN TARBALL
@ -18,6 +18,6 @@ find -name '*.class' -delete
find -name '*.zip' -delete
find -name '*.dll' -delete
tar cf "../${name}-${version}.tar.gz" *
cd ..
tar -czf "../${name}-${version}.tar.gz" *
popd
rm -r tarball-tmp "${name}-${version}.orig.tar.gz"