Tiny fixes

This commit is contained in:
Igor Pečovnik 2015-12-09 14:39:41 +01:00
parent a3aa5e4046
commit 4ad4ba33d6
2 changed files with 3 additions and 3 deletions

View file

@ -174,7 +174,7 @@ grab_version ()
tmp=$(cat $1/Makefile | grep $dir | head -1 | awk '{print $(NF)}' | cut -d '=' -f 2)"#"
[[ $tmp != "#" ]] && VER=$VER"$tmp"
done
VER=${VER//#/.}; VER=${VER%.}; VER="v"${VER//.-/-}
VER=${VER//#/.}; VER=${VER%.}; VER=${VER//.-/-}
}