Skip to content
Browse files

cut the patch number before a '-' too, to enable '7.11.0-pre1' to use

patch number zero.
  • Loading branch information...
1 parent 93aea06 commit 11e8600390e46f3e9d22ed41c98a16fbcd1698ea @bagder bagder committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 maketgz
2 maketgz
@@ -16,7 +16,7 @@ curlversion=$libversion
major=`echo $libversion |cut -d. -f1 | sed -e "s/[^0-9]//g"`
minor=`echo $libversion |cut -d. -f2 | sed -e "s/[^0-9]//g"`
-patch=`echo $libversion |cut -d. -f3 | sed -e "s/[^0-9]//g"`
+patch=`echo $libversion |cut -d. -f3 | cut -d- -f1 | sed -e "s/[^0-9]//g"`
numeric=`echo "obase=16; $major*256*256 + $minor*256 + $patch" | bc`

0 comments on commit 11e8600

Please sign in to comment.
Something went wrong with that request. Please try again.