forked from Mirrors/freeswitch
ci: fix old error
This commit is contained in:
parent
94ee52d266
commit
1269891f50
|
@ -8,7 +8,6 @@ sdir="."
|
||||||
eval $(parse_version "$1")
|
eval $(parse_version "$1")
|
||||||
|
|
||||||
dst_name="freeswitch-$cmajor.$cminor.$cmicro"
|
dst_name="freeswitch-$cmajor.$cminor.$cmicro"
|
||||||
dst_parent="${tmp_dir}/jenkis.$$/"
|
|
||||||
dst_dir="${tmp_dir}/jenkins.$$/$dst_name"
|
dst_dir="${tmp_dir}/jenkins.$$/$dst_name"
|
||||||
|
|
||||||
if [ -d "$dst_dir" ]; then
|
if [ -d "$dst_dir" ]; then
|
||||||
|
@ -23,11 +22,7 @@ cd $dst_dir
|
||||||
set_fs_ver "$cver" "$cmajor" "$cminor" "$cmicro" "$crev"
|
set_fs_ver "$cver" "$cmajor" "$cminor" "$cmicro" "$crev"
|
||||||
gnuize
|
gnuize
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
cd $dst_parent
|
|
||||||
|
|
||||||
ls
|
ls
|
||||||
|
|
||||||
tar -cvf ${dst_name}.tar $dst_name
|
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"
|
||||||
|
|
Loading…
Reference in New Issue