Now libuv has a version string starting with"v"

This commit is contained in:
Pierre Labastie 2018-03-10 11:04:42 +00:00
parent eb5a32de85
commit 0d1c9f0ce1

View file

@ -72,6 +72,9 @@ case $1 in
x265*) # can contain vd.d or just d.d: thanks to packagers x265*) # can contain vd.d or just d.d: thanks to packagers
VERSION=$(echo $1 | sed 's/^.*[v_]//') VERSION=$(echo $1 | sed 's/^.*[v_]//')
;; ;;
libuv*) # can contain -vd.d or just -d.d
VERSION=$(echo $1 | sed 's/^.*[v-]//')
;;
*) *)
VERSION=$(echo $1 | sed 's/^.*[-_]\([0-9]\)/\1/' | sed 's/_/./g') VERSION=$(echo $1 | sed 's/^.*[-_]\([0-9]\)/\1/' | sed 's/_/./g')
;; ;;