summaryrefslogtreecommitdiffstats
path: root/bin/gen-DSA
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
commitb18ef6b578f366fb574de3cdff451cb08071f169 (patch)
tree1cd71d90dd1fde7eb098c8aef1d1f7e985f5d539 /bin/gen-DSA
parent1ecf50edb11e5f95fb3db3a7d5e8e9d67cbded32 (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/gen-DSA')
-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