Properly compress tarballs
This commit is contained in:
parent
1908562ef5
commit
38e3a0874b
@ -9,13 +9,13 @@ wget "https://github.com/jhy/${name}/archive/${name}-${version}.tar.gz" -O "${na
|
|||||||
|
|
||||||
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
|
||||||
# contains scraped news articles (non-free)
|
# contains scraped news articles (non-free)
|
||||||
rm -r */src/test/resources
|
rm -r */src/test/resources
|
||||||
|
|
||||||
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