mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
packages-cleaner: remove trailing whitespace during automated pass
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
This commit is contained in:
parent
5def4c63d4
commit
050ba25fb6
@ -10,6 +10,7 @@
|
|||||||
for directory in $(find packages/ -mindepth 1 -maxdepth 1 -type d | sort); do
|
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
|
for file in $(find "${directory}" -type f -name "package.mk" | sort); do
|
||||||
tools/fixlecode.py -qw -f "${file}"
|
tools/fixlecode.py -qw -f "${file}"
|
||||||
|
sed -i 's/[[:blank:]]*$//g' "${file}"
|
||||||
done
|
done
|
||||||
git commit -qs -m "${directory##*/}: automated code cleanup" "${directory}"
|
git commit -qs -m "${directory##*/}: automated code cleanup" "${directory}"
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user