build/windows: Make 'clean' function more silent

This improves bundling script after c808d13b.

No need to a waterfall of "(INFO): cleaning" outputs, one is enough.
This commit is contained in:
Bruno 2024-08-06 18:31:31 -03:00
parent cb796c57d6
commit c748b3d286
No known key found for this signature in database

View file

@ -84,7 +84,9 @@ clean ()
cleanedArray=($(find $1/ -iname ${2##*/}))
fi
for path_dest_full in "${cleanedArray[@]}"; do
echo "(INFO): cleaning $path_dest_full"
if [[ "$path_dest_full" = "${cleanedArray[0]}" ]]; then
echo "(INFO): cleaning $1/$2"
fi
rm $path_dest_full
done
}