From b3acb772c02a440ea4950bdde45501533d223f7f Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Mon, 14 Apr 2003 02:09:57 +0000 Subject: [PATCH] * mkvers.sh: Prefix day with 0 in date only when day < 10. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/mkvers.sh | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 81458cfea..dbb152639 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2003-04-13 Pierre Humblet + + * mkvers.sh: Prefix day with 0 in date only when day < 10. + 2003-04-11 Pierre Humblet * security.cc (get_info_from_sd): New function. diff --git a/winsup/cygwin/mkvers.sh b/winsup/cygwin/mkvers.sh index 3296b569a..d14deb166 100755 --- a/winsup/cygwin/mkvers.sh +++ b/winsup/cygwin/mkvers.sh @@ -45,7 +45,7 @@ case "$2" in Dec) m=12 ;; esac -if [ "$3" -le 10 ]; then +if [ "$3" -lt 10 ]; then d=0$3 else d=$3 -- 2.43.5