mirror of https://github.com/moparisthebest/curl
1. read the version from the command line
2. make the libcurl and curl version the same
This commit is contained in:
parent
b3591ec464
commit
ce7326ed09
14
maketgz
14
maketgz
|
@ -2,8 +2,14 @@
|
||||||
# Script to build release-archives with
|
# Script to build release-archives with
|
||||||
#
|
#
|
||||||
|
|
||||||
echo "LIB version number?"
|
version=$1
|
||||||
read version
|
|
||||||
|
if [ -z "$version" ]; then
|
||||||
|
echo "Specify a version number!"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo $version
|
||||||
|
|
||||||
libversion="$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"`
|
numeric=`echo $libversion | perl -e "$perl"`
|
||||||
|
|
||||||
echo "CURL version number?"
|
# we make curl the same version as libcurl
|
||||||
read curlversion
|
curlversion=$libversion
|
||||||
|
|
||||||
HEADER=include/curl/curl.h
|
HEADER=include/curl/curl.h
|
||||||
CHEADER=src/version.h
|
CHEADER=src/version.h
|
||||||
|
|
Loading…
Reference in New Issue