summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorChris Lamb <lamby@debian.org>2020-03-19 17:08:24 +0000
committerChris Lamb <lamby@debian.org>2020-03-19 17:08:24 +0000
commit3306d6a87d17b5efdd705bac6131a60ed6f82287 (patch)
tree3d3ef63f3b712fe2a9a20517f0615263f65f8ead /bin
parent785fb0e5e6a8912085570d2c3696a9b09834aaa5 (diff)
Don't warn about potential duplicate work when issuing a regression update; we will likely not be modifying dla-needed.txt.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/gen-DSA2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gen-DSA b/bin/gen-DSA
index 3b73dfbaaa..0a453b6d31 100755
--- a/bin/gen-DSA
+++ b/bin/gen-DSA
@@ -394,7 +394,7 @@ EOF
if [ -d .git ]; then
echo "Made the following changes:"
git diff -- data/$IDMODE/list $needed_file
- if ! git diff-index --name-only HEAD -- $needed_file | grep -qs .; then
+ if ! git diff-index --name-only HEAD -- $needed_file | grep -qs . && [ $TYPE = security ]; then
warn "did not make any changes to $needed_file - this may indicate duplicate work"
fi
fi

© 2014-2024 Faster IT GmbH | imprint | privacy policy