projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93aea06
)
cut the patch number before a '-' too, to enable '7.11.0-pre1' to use
author
Daniel Stenberg
<daniel@haxx.se>
Mon, 12 Jan 2004 09:14:12 +0000
(09:14 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Mon, 12 Jan 2004 09:14:12 +0000
(09:14 +0000)
patch number zero.
maketgz
patch
|
blob
|
history
diff --git
a/maketgz
b/maketgz
index
a5866ec
..
4e7bdae
100755
(executable)
--- 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`