Fix packInstall.sh.porg for junit

This commit is contained in:
Pierre Labastie 2018-03-19 21:01:06 +00:00
parent 2b67b9ba4d
commit 6747d510ed

View file

@ -75,6 +75,9 @@ case $1 in
libuv*) # can contain -vd.d or just -d.d libuv*) # can contain -vd.d or just -d.d
VERSION=$(echo $1 | sed 's/^.*[v-]//') VERSION=$(echo $1 | sed 's/^.*[v-]//')
;; ;;
junit*) # can contain -rd.d or just -d.d
VERSION=$(echo $1 | sed 's/^.*[r-]//')
;;
*) *)
VERSION=$(echo $1 | sed 's/^.*[-_]\([0-9]\)/\1/' | sed 's/_/./g') VERSION=$(echo $1 | sed 's/^.*[-_]\([0-9]\)/\1/' | sed 's/_/./g')
;; ;;