diff options
author | Graham Leggett <minfrin@apache.org> | 2010-06-05 16:10:47 +0200 |
---|---|---|
committer | Graham Leggett <minfrin@apache.org> | 2010-06-05 16:10:47 +0200 |
commit | d3d7034a0931893f5dcbd1b22234b5075389ebb7 (patch) | |
tree | 9922d1fd535db3c418fae6c85348ba25269d55d0 /build/get-version.sh | |
parent | Review of RFC 2616 violation issues in Bugzilla, by Igor Galić. (diff) | |
download | apache2-d3d7034a0931893f5dcbd1b22234b5075389ebb7.tar.xz apache2-d3d7034a0931893f5dcbd1b22234b5075389ebb7.zip |
Reduce the length of our generated RPM epoch number, as epoch numbers are
limited to 32 bits.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@951722 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rwxr-xr-x | build/get-version.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/get-version.sh b/build/get-version.sh index 376a5c7303..5e8ad88de5 100755 --- a/build/get-version.sh +++ b/build/get-version.sh @@ -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} |