1
1
mirror of https://gitlab.gnome.org/GNOME/gimp.git synced 2025-10-06 05:22:40 +02:00

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

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
}