Commit a95e21ae authored by Andy Whitcroft's avatar Andy Whitcroft Committed by Kelsey Skunberg

UBUNTU: [Packaging] autoreconstruct -- manage executable debian files

BugLink: https://bugs.launchpad.net/bugs/1861284

We generally mitigate executables within the debian directory but it would
be much simpler if we extended executable bit management into debian too.
Drop the exclusion there.
Signed-off-by: default avatarAndy Whitcroft <apw@canonical.com>
Acked-by: default avatarKleber Sacilotto de Souza <kleber.souza@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com
Signed-off-by: default avatarIan May <ian.may@canonical.com>
Signed-off-by: default avatarKelsey Skunberg <kelsey.skunberg@canonical.com>
parent d00c16c0
...@@ -46,11 +46,6 @@ fi ...@@ -46,11 +46,6 @@ fi
git diff "$tag.." --raw --no-renames | awk -F '[: \t]' '{print $2, $3, $NF }' | \ git diff "$tag.." --raw --no-renames | awk -F '[: \t]' '{print $2, $3, $NF }' | \
while IFS=" " read old new name while IFS=" " read old new name
do do
# Exclude files in debian* directories
if [[ "$name" =~ ^debian ]]; then
continue
fi
old=$( printf "0%s" $old ) old=$( printf "0%s" $old )
new=$( printf "0%s" $new ) new=$( printf "0%s" $new )
changed=$(( (old ^ new) & 0111 )) changed=$(( (old ^ new) & 0111 ))
......
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