diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/NetWare/get_ver.awk | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/packages/NetWare/get_ver.awk b/packages/NetWare/get_ver.awk index 3a941764c..3ae223664 100644 --- a/packages/NetWare/get_ver.awk +++ b/packages/NetWare/get_ver.awk @@ -20,7 +20,10 @@ # * # * $Id$ # *************************************************************************** -# fetch libcurl version number from input file and write them to STDOUT +# awk script which fetches libcurl version number and string from input file +# and writes them to STDOUT. Here you can get an awk version for Win32: +# http://www.gknw.com/development/prgtools/awk.zip +# BEGIN { while ((getline < ARGV[1]) > 0) { if (match ($0, /^#define LIBCURL_VERSION "[^"]+"/)) { @@ -37,8 +40,6 @@ BEGIN { } } libcurl_ver = libcurl_ver_major "," libcurl_ver_minor "," libcurl_ver_patch; - print "LIBCURL_VERSION = " libcurl_ver ""; print "LIBCURL_VERSION_STR = " libcurl_ver_str ""; - } |