mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 08:05:37 +00:00
small tweak to generate other source archive types
This commit is contained in:
parent
cd4e926969
commit
0f8783f32c
@ -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…
x
Reference in New Issue
Block a user