summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdoc/mdate-sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/mdate-sh b/doc/mdate-sh
index 29e5fbb7b..4d38433a9 100755
--- a/doc/mdate-sh
+++ b/doc/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;;