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
|
||||
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"
|
||||
|
Loading…
Reference in New Issue
Block a user