Properly compress tarballs

This commit is contained in:
Marian Koncek 2020-01-27 16:23:32 +01:00
parent d82dca5e37
commit 01aff73b77

View File

@ -9,7 +9,7 @@ wget "http://repo2.maven.org/maven2/com/thoughtworks/qdox/qdox/${version/'~'/'-'
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
# contains possibly proprietary binaries of YACC
rm -r */bootstrap
tar cf "../${name}-${version}.tar.gz" *
cd ..
tar -czf "../${name}-${version}.tar.gz" *
popd
rm -r tarball-tmp "${name}-${version}.orig.tar.gz"