From 54a043ffd13f3d896b58c6a9f0a4a5bb2170b9ab Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 21:38:58 +0200 Subject: Merging upstream version 2.12.1. Signed-off-by: Daniel Baumann --- tools/checkman | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/checkman') diff --git a/tools/checkman b/tools/checkman index f93998d..1f37e03 100755 --- a/tools/checkman +++ b/tools/checkman @@ -66,11 +66,11 @@ do # See which is newer and echo - if test "$file1" -nt "$file2" + if test "$(find "$file1" -newer "$file2")" then echo "$file1 is newer than $file2" >&2 echo "$file2" - elif test "$file2" -nt "$file1" + elif test "$(find "$file2" -newer "$file1")" then echo "$file2 is newer than $file1" >&2 echo "$file1" -- cgit v1.2.3