Commit 18fb1f89 authored by Andy Whitcroft's avatar Andy Whitcroft Committed by Juerg Haefliger

UBUNTU: [Packaging] retpoline-check -- only report additions

BugLink: http://bugs.launchpad.net/bugs/1758856Signed-off-by: default avatarAndy Whitcroft <apw@canonical.com>
Acked-by: default avatarStefan Bader <stefan.bader@canonical.com>
Signed-off-by: default avatarJuerg Haefliger <juergh@canonical.com>
parent c452e5f0
......@@ -32,7 +32,12 @@ fi
echo "II: retpoline delta in this package..."
rc=0
diff -u "$prev" "$curr" || rc=1
diff -u "$prev" "$curr" || true
count=$( diff -u "$prev" "$curr" | grep '^+[^+]' | wc -l )
if [ "$count" != 0 ]; then
rc=1
echo "WW: $count new retpoline sequences detected"
fi
echo "II: Done";
if [ "$skipretpoline" = 'true' -a "$rc" -ne 0 ]; then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment