]> granicus.if.org Git - apache/commitdiff
Reduce the length of our generated RPM epoch number, as epoch numbers are
authorGraham Leggett <minfrin@apache.org>
Sat, 5 Jun 2010 14:10:47 +0000 (14:10 +0000)
committerGraham Leggett <minfrin@apache.org>
Sat, 5 Jun 2010 14:10:47 +0000 (14:10 +0000)
limited to 32 bits.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@951722 13f79535-47bb-0310-9956-ffa450edef68

build/get-version.sh

index 376a5c730394e126788a90c5f43f50353db71fac..5e8ad88de5a2d74ac9361f72bf0080f2187e6c85 100755 (executable)
@@ -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}