]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
update_timestamps.sh: Ignore inexistent files
authorAlejandro Colomar <alx@kernel.org>
Sun, 9 Oct 2022 15:34:19 +0000 (17:34 +0200)
committerAlejandro Colomar <alx@kernel.org>
Sun, 9 Oct 2022 16:47:56 +0000 (18:47 +0200)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
scripts/update_timestamps.sh

index d9731d0db93c61a8f5bc0a66a28e2916300251f3..9e1dc2ea47d8b0d8402ded6a212911e1c035fa2b 100755 (executable)
@@ -10,6 +10,7 @@
 
 
 git diff --name-only $(git describe --abbrev=0)..HEAD \
+|xargs find 2>/dev/null \
 |while read f; do
        date="$(git log --format=%ci -1 -- $f | cut -f1 -d' ')";