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
|
||||
mkdir tarball-tmp
|
||||
cd tarball-tmp
|
||||
tar xf "../${name}-${version}.orig.tar.gz"
|
||||
tar -xf "../${name}-${version}.orig.tar.gz"
|
||||
|
||||
# CLEAN TARBALL
|
||||
# contain questionable things, such as csflex.exe
|
||||
@ -20,6 +20,6 @@ find -name '*.exe' -delete
|
||||
find -name '*.dll' -delete
|
||||
find -name '*.so' -delete
|
||||
|
||||
tar cf "../${name}-${version}.tar.gz" *
|
||||
tar -czf "../${name}-${version}.tar.gz" *
|
||||
cd ..
|
||||
rm -r tarball-tmp "${name}-${version}.orig.tar.gz"
|
||||
|
Loading…
Reference in New Issue
Block a user