From 085a0fa9e6179fa9b66f03b8bcbfc8e04464ea22 Mon Sep 17 00:00:00 2001 From: Ken Rice Date: Fri, 30 Nov 2012 17:19:32 +0000 Subject: [PATCH] lets make the revs work correctly --- scripts/ci/src_tarball.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/ci/src_tarball.sh b/scripts/ci/src_tarball.sh index 1c79f2fca1..4e64d68e77 100755 --- a/scripts/ci/src_tarball.sh +++ b/scripts/ci/src_tarball.sh @@ -8,8 +8,12 @@ sdir="." check_pwd check_input_ver_build $@ eval $(parse_version "$1") +if [ -n "$grev" ]; then + dst_name="freeswitch-$cmajor.$cminor.$cmicro.$grev" +else + dst_name="freeswitch-$cmajor.$cminor.$cmicro" +fi -dst_name="freeswitch-$cmajor.$cminor.$cmicro" dst_dir="${tmp_dir}/jenkins.$$/$dst_name" if [ -d "$dst_dir" ]; then