apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fua...@apache.org
Subject svn commit: r1487119 - /apr/apr/trunk/build/nw_ver.awk
Date Tue, 28 May 2013 21:05:51 GMT
Author: fuankg
Date: Tue May 28 21:05:50 2013
New Revision: 1487119

URL: http://svn.apache.org/r1487119
Log:
NetWare build: minor change to make the script usable for 1.x.

Modified:
    apr/apr/trunk/build/nw_ver.awk

Modified: apr/apr/trunk/build/nw_ver.awk
URL: http://svn.apache.org/viewvc/apr/apr/trunk/build/nw_ver.awk?rev=1487119&r1=1487118&r2=1487119&view=diff
==============================================================================
--- apr/apr/trunk/build/nw_ver.awk (original)
+++ apr/apr/trunk/build/nw_ver.awk Tue May 28 21:05:50 2013
@@ -18,16 +18,16 @@ BEGIN {
   # fetch APR version numbers from input file and write them to STDOUT
 
   while ((getline < ARGV[1]) > 0) {
-    if (match ($0, /^#define APR_MAJOR_VERSION/)) {
+    if (match ($0, /^#define AP._MAJOR_VERSION/)) {
       ver_major = $3;
     }
-    else if (match ($0, /^#define APR_MINOR_VERSION/)) {
+    else if (match ($0, /^#define AP._MINOR_VERSION/)) {
       ver_minor = $3;
     }
-    else if (match ($0, /^#define APR_PATCH_VERSION/)) {
+    else if (match ($0, /^#define AP._PATCH_VERSION/)) {
       ver_patch = $3;
     }
-    else if (match ($0, /^#define APR_IS_DEV_VERSION/)) {
+    else if (match ($0, /^#define AP._IS_DEV_VERSION/)) {
       ver_devbuild = 1;
     }
   }



Mime
View raw message