Properly compress tarballs
This commit is contained in:
parent
979ced6428
commit
71d80a1171
@ -10,13 +10,13 @@ wget "https://github.com/cbeust/testng/archive/${upstream_version}.tar.gz" -O "$
|
|||||||
|
|
||||||
rm -rf tarball-tmp
|
rm -rf tarball-tmp
|
||||||
mkdir tarball-tmp
|
mkdir tarball-tmp
|
||||||
cd tarball-tmp
|
pushd tarball-tmp
|
||||||
tar xf "../${name}-${upstream_version}.orig.tar.gz"
|
tar xf "../${name}-${upstream_version}.orig.tar.gz"
|
||||||
|
|
||||||
# CLEAN TARBALL
|
# CLEAN TARBALL
|
||||||
rm -r */gradle* */kobalt*
|
rm -r */gradle* */kobalt*
|
||||||
rm */src/main/resources/org/testng/jquery-*.js
|
rm */src/main/resources/org/testng/jquery-*.js
|
||||||
|
|
||||||
tar cf "../${name}-${version}.tar.gz" *
|
tar -czf "../${name}-${version}.tar.gz" *
|
||||||
cd ..
|
popd
|
||||||
rm -r tarball-tmp "${name}-${upstream_version}.orig.tar.gz"
|
rm -r tarball-tmp "${name}-${upstream_version}.orig.tar.gz"
|
||||||
|
Loading…
Reference in New Issue
Block a user