summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rwxr-xr-xtools/mtime.sh3
2 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 6710d47..a0bed97 100644
--- a/NEWS
+++ b/NEWS
@@ -16,6 +16,8 @@ libopkbuild:
* ob_get_source_parameter() now supports a "Format" field to get the
source package formate version.
+ * The modification time in manual pages is now parsed and formatted
+ correctly.
opkbuild version 4.1.4
----------------------
diff --git a/tools/mtime.sh b/tools/mtime.sh
index 7207f9e..b88b833 100755
--- a/tools/mtime.sh
+++ b/tools/mtime.sh
@@ -31,10 +31,11 @@ get_mtime()
local m=
local d=
local y=
+ local name=
local now_m=
local now_y=
- read -r mode links owner group size m d y <<-EOF
+ read -r mode links owner group size m d y name <<-EOF
$(LC_ALL=POSIX ls -l "${file}")
EOF
case "${m}" in