diff options
author | Alexandre Duret-Lutz <adl@gnu.org> | 2005-02-08 23:06:44 +0000 |
---|---|---|
committer | Alexandre Duret-Lutz <adl@gnu.org> | 2005-02-08 23:06:44 +0000 |
commit | 8fca82c553fddd4466dc08f1421330fd6474b65c (patch) | |
tree | 0b23f3526054deeaa33ddfd150940f5ba6d5f103 /lib/mdate-sh | |
parent | fb6fa130d08ed4a6a25ab9447e34b2748987a90b (diff) | |
download | automake-8fca82c553fddd4466dc08f1421330fd6474b65c.tar.gz |
* lib/mdate-sh: Check the size of the word following the month to
catch Darwin. This way the filename can contain spaces.
Diffstat (limited to 'lib/mdate-sh')
-rwxr-xr-x | lib/mdate-sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/mdate-sh b/lib/mdate-sh index a60e7d71b..4b2efdf91 100755 --- a/lib/mdate-sh +++ b/lib/mdate-sh @@ -148,9 +148,9 @@ case $2 in Dec) month=December; nummonth=12;; esac -case $# in - 4) day=$1;; - *) day=$3; shift;; +case $3 in + ???*) day=$1;; + *) day=$3; shift;; esac # Here we have to deal with the problem that the ls output gives either |