Properly compress taballs
This commit is contained in:
parent
69199fe236
commit
56cbd27e76
@ -9,7 +9,7 @@ wget "https://github.com/${name}/${name}/archive/${name}-${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}-${version}.orig.tar.gz"
|
tar xf "../${name}-${version}.orig.tar.gz"
|
||||||
|
|
||||||
# CLEAN TARBALL
|
# CLEAN TARBALL
|
||||||
@ -18,6 +18,6 @@ find -name '*.class' -delete
|
|||||||
# Contains minified js of uncertain origin
|
# Contains minified js of uncertain origin
|
||||||
rm -r */website
|
rm -r */website
|
||||||
|
|
||||||
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