Skip to content

Commit

Permalink
Reduce the length of our generated RPM epoch number, as epoch numbers…
Browse files Browse the repository at this point in the history
… are

limited to 32 bits.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@951722 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
minfrin committed Jun 5, 2010
1 parent c03dcc9 commit 65caf66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/get-version.sh
Expand Up @@ -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}
Expand Down

0 comments on commit 65caf66

Please sign in to comment.