armbian-next: cleaning: don't complain about 'none' CLEAN_LEVEL

This commit is contained in:
Ricardo Pardini 2022-07-09 21:38:33 +02:00
parent 188ef0b1af
commit a1ff891b24
No known key found for this signature in database
GPG Key ID: 3D38CA12A66C5D02

View File

@ -53,7 +53,7 @@ function main_default_build_single() {
fi
for cleaning_fragment in $(tr ',' ' ' <<< "${CLEAN_LEVEL}"); do
if [[ $cleaning_fragment != sources ]] && [[ $cleaning_fragment != make* ]]; then
if [[ $cleaning_fragment != sources ]] && [[ $cleaning_fragment != none ]] && [[ $cleaning_fragment != make* ]]; then
LOG_SECTION="cleaning_${cleaning_fragment}" do_with_logging general_cleaning "${cleaning_fragment}"
fi
done