Properly compress tarballs
This commit is contained in:
parent
d82dca5e37
commit
01aff73b77
@ -9,7 +9,7 @@ wget "http://repo2.maven.org/maven2/com/thoughtworks/qdox/qdox/${version/'~'/'-'
|
|||||||
|
|
||||||
rm -rf tarball-tmp
|
rm -rf tarball-tmp
|
||||||
mkdir tarball-tmp
|
mkdir tarball-tmp
|
||||||
cd tarball-tmp
|
pushd tarball-tmp
|
||||||
tar xf "../${name}-${version}.orig.tar.gz"
|
tar xf "../${name}-${version}.orig.tar.gz"
|
||||||
|
|
||||||
# CLEAN TARBALL
|
# CLEAN TARBALL
|
||||||
@ -18,6 +18,6 @@ find -name '*.class' -delete
|
|||||||
# contains possibly proprietary binaries of YACC
|
# contains possibly proprietary binaries of YACC
|
||||||
rm -r */bootstrap
|
rm -r */bootstrap
|
||||||
|
|
||||||
tar cf "../${name}-${version}.tar.gz" *
|
tar -czf "../${name}-${version}.tar.gz" *
|
||||||
cd ..
|
popd
|
||||||
rm -r tarball-tmp "${name}-${version}.orig.tar.gz"
|
rm -r tarball-tmp "${name}-${version}.orig.tar.gz"
|
||||||
|
Loading…
Reference in New Issue
Block a user