Now libuv has a version string starting with"v"
This commit is contained in:
parent
eb5a32de85
commit
0d1c9f0ce1
1 changed files with 3 additions and 0 deletions
|
@ -72,6 +72,9 @@ case $1 in
|
|||
x265*) # can contain vd.d or just d.d: thanks to packagers
|
||||
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')
|
||||
;;
|
||||
|
|
Reference in a new issue