diff --git a/build/get-version.sh b/build/get-version.sh index 376a5c73039..5e8ad88de5a 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}