mirror of
https://github.com/Fishwaldo/build.git
synced 2025-06-20 05:09:08 +00:00
Tiny fixes
This commit is contained in:
parent
a3aa5e4046
commit
4ad4ba33d6
2 changed files with 3 additions and 3 deletions
|
@ -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//.-/-}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue