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
commite504d8283c946b0bd50ba468197a0da2ddb3844e (patch)
tree302373a2676daac4bcfae227781587bb848a2a2e /bin
parent4e660bdfcb052468466e31018be0524d1f55f4c8 (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