]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
lets make the revs work correctly
authorKen Rice <krice@freeswitch.org>
Fri, 30 Nov 2012 17:19:32 +0000 (17:19 +0000)
committerKen Rice <krice@freeswitch.org>
Tue, 4 Dec 2012 19:51:35 +0000 (19:51 +0000)
scripts/ci/src_tarball.sh

index 1c79f2fca1150d129bb6eb3d49cdf0df0a56561c..4e64d68e771366873774b49a437372e664f3d6d9 100755 (executable)
@@ -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