lets make the revs work correctly

This commit is contained in:
Ken Rice 2012-11-30 17:19:32 +00:00
parent ca603e59ef
commit 085a0fa9e6
1 changed files with 5 additions and 1 deletions

View File

@ -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