Compress source tarball
Related: rhbz#1986062
This commit is contained in:
parent
bd75e6a790
commit
6f094be1ec
@ -10,7 +10,7 @@ wget "http://www.antlr2.org/download/antlr-${version}.tar.gz" -O "${name}-${vers
|
|||||||
rm -rf tarball-tmp
|
rm -rf tarball-tmp
|
||||||
mkdir tarball-tmp
|
mkdir tarball-tmp
|
||||||
cd tarball-tmp
|
cd tarball-tmp
|
||||||
tar xf "../${name}-${version}.orig.tar.gz"
|
tar -xf "../${name}-${version}.orig.tar.gz"
|
||||||
|
|
||||||
# CLEAN TARBALL
|
# CLEAN TARBALL
|
||||||
# contain questionable things, such as csflex.exe
|
# contain questionable things, such as csflex.exe
|
||||||
@ -20,6 +20,6 @@ find -name '*.exe' -delete
|
|||||||
find -name '*.dll' -delete
|
find -name '*.dll' -delete
|
||||||
find -name '*.so' -delete
|
find -name '*.so' -delete
|
||||||
|
|
||||||
tar cf "../${name}-${version}.tar.gz" *
|
tar -czf "../${name}-${version}.tar.gz" *
|
||||||
cd ..
|
cd ..
|
||||||
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