aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmaketgz2
1 files changed, 1 insertions, 1 deletions
diff --git a/maketgz b/maketgz
index a5866ec5b..4e7bdaef6 100755
--- a/maketgz
+++ b/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`