From bee33fa7dfb466bb1b912016254dcf77bed3859a Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 4 Jan 1996 06:05:29 +0000 Subject: bug fix --- ChangeLog | 2 ++ lib/mdate-sh | 2 +- mdate-sh | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index a54ba7d2e..ddf789bcc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ Wed Jan 3 00:05:40 1996 Tom Tromey + * mdate-sh: Bug fix from Jim Meyering. + * dist.am (dist): Changed in parallel with dist-subd-top.am. * mkinstalldirs: Reverted. diff --git a/lib/mdate-sh b/lib/mdate-sh index d01e00c25..10e19caa0 100755 --- a/lib/mdate-sh +++ b/lib/mdate-sh @@ -82,7 +82,7 @@ case $3 in # be used for file modified in the last year. if (expr $nummonth \> $nummonthtod) > /dev/null; then - year=`expr year - 1` + year=`expr $year - 1` fi ;; *) year=$3;; diff --git a/mdate-sh b/mdate-sh index d01e00c25..10e19caa0 100755 --- a/mdate-sh +++ b/mdate-sh @@ -82,7 +82,7 @@ case $3 in # be used for file modified in the last year. if (expr $nummonth \> $nummonthtod) > /dev/null; then - year=`expr year - 1` + year=`expr $year - 1` fi ;; *) year=$3;; -- cgit v1.2.1