packages-cleaner: remove trailing whitespace during automated pass

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
This commit is contained in:
Ian Leonard 2021-09-07 05:37:19 +00:00
parent 5def4c63d4
commit 050ba25fb6

View File

@ -10,6 +10,7 @@
for directory in $(find packages/ -mindepth 1 -maxdepth 1 -type d | sort); do
for file in $(find "${directory}" -type f -name "package.mk" | sort); do
tools/fixlecode.py -qw -f "${file}"
sed -i 's/[[:blank:]]*$//g' "${file}"
done
git commit -qs -m "${directory##*/}: automated code cleanup" "${directory}"
done