Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

1. read the version from the command line

2. make the libcurl and curl version the same
  • Loading branch information...
commit ce7326ed090304f4eb4a9630409fe1d379a46a63 1 parent b3591ec
@bagder authored
Showing with 10 additions and 4 deletions.
  1. +10 −4 maketgz
View
14 maketgz
@@ -2,8 +2,14 @@
# Script to build release-archives with
#
-echo "LIB version number?"
-read version
+version=$1
+
+if [ -z "$version" ]; then
+ echo "Specify a version number!"
+ exit
+fi
+
+echo $version
libversion="$version"
@@ -15,8 +21,8 @@ perl='$a=<STDIN>;@p=split("[\\.-]",$a);for(0..2){printf STDOUT ("%02x",$p[0+$_])
numeric=`echo $libversion | perl -e "$perl"`
-echo "CURL version number?"
-read curlversion
+# we make curl the same version as libcurl
+curlversion=$libversion
HEADER=include/curl/curl.h
CHEADER=src/version.h
Please sign in to comment.
Something went wrong with that request. Please try again.