summaryrefslogtreecommitdiffstats
path: root/build/get-version.sh
diff options
context:
space:
mode:
authorGraham Leggett <minfrin@apache.org>2010-06-05 16:10:47 +0200
committerGraham Leggett <minfrin@apache.org>2010-06-05 16:10:47 +0200
commitd3d7034a0931893f5dcbd1b22234b5075389ebb7 (patch)
tree9922d1fd535db3c418fae6c85348ba25269d55d0 /build/get-version.sh
parentReview of RFC 2616 violation issues in Bugzilla, by Igor Galić. (diff)
downloadapache2-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-xbuild/get-version.sh2
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}