summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2022-10-09 17:34:19 +0200
committerAlejandro Colomar <alx@kernel.org>2022-10-09 18:47:56 +0200
commit6d1ba6a1c923849a06756fe42f610571e70b94e2 (patch)
treef2d637953ae1102f2ba4fb0cdc1fd4f6888c9a01
parent17285b2566467de26e7ce3319f375ec05c442d79 (diff)
update_timestamps.sh: Ignore inexistent files
Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rwxr-xr-xscripts/update_timestamps.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/update_timestamps.sh b/scripts/update_timestamps.sh
index d9731d0db..9e1dc2ea4 100755
--- a/scripts/update_timestamps.sh
+++ b/scripts/update_timestamps.sh
@@ -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' ')";