small tweak to generate other source archive types
This commit is contained in:
parent
9059fb91cc
commit
e886cd3cae
|
@ -32,14 +32,16 @@ cd ..
|
|||
ls
|
||||
tar -cvf ${dst_name}.tar $dst_name
|
||||
|
||||
# gzip -9 -c ${dst_name}.tar > $dst_name.tar.gz || echo "gzip not available"
|
||||
gzip -9 -c ${dst_name}.tar > $dst_name.tar.gz || echo "gzip not available"
|
||||
bzip2 -z -k ${dst_name}.tar || echo "bzip2 not available"
|
||||
# xz -z -9 -k ${dst_name}.tar || echo "xz / xz-utils not available"
|
||||
xz -z -9 -k ${dst_name}.tar || echo "xz / xz-utils not available"
|
||||
zip -r $dst_name.zip $dst_name
|
||||
|
||||
rm -rf ${dst_name}.tar $dst_dir
|
||||
|
||||
mkdir -p ${src_repo}/src_dist
|
||||
mv -f ${dst_name}.tar.* ${src_repo}/src_dist
|
||||
mv -f $dst_name.zip ${src_repo}/src_dist
|
||||
|
||||
cat 1>&2 <<EOF
|
||||
----------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue