httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From minf...@apache.org
Subject svn commit: r951722 - /httpd/httpd/trunk/build/get-version.sh
Date Sat, 05 Jun 2010 14:10:47 GMT
Author: minfrin
Date: Sat Jun  5 14:10:47 2010
New Revision: 951722

URL: http://svn.apache.org/viewvc?rev=951722&view=rev
Log:
Reduce the length of our generated RPM epoch number, as epoch numbers are
limited to 32 bits.

Modified:
    httpd/httpd/trunk/build/get-version.sh

Modified: httpd/httpd/trunk/build/get-version.sh
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/build/get-version.sh?rev=951722&r1=951721&r2=951722&view=diff
==============================================================================
--- httpd/httpd/trunk/build/get-version.sh (original)
+++ httpd/httpd/trunk/build/get-version.sh Sat Jun  5 14:10:47 2010
@@ -49,7 +49,7 @@ elif test "$1" = "major"; then
 elif test "$1" = "mmn"; then
   echo ${mmn}
 elif test "$1" = "epoch"; then
-  printf "%03d" ${major} ${minor} ${patch}
+  printf "%02d%02d%03d" ${major} ${minor} ${patch}
 elif test "$1" = "libtool"; then
   # Yes, ${minor}:${patch}:${minor} is correct due to libtool idiocy.
   echo ${minor}:${patch}:${minor}



Mime
View raw message