Single quotes around find patterns during cleanup

Whoops, *.img expands if we're building USB images.

Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
This commit is contained in:
Aaron Griffin 2009-01-24 17:43:21 -06:00
parent a2b56008ea
commit c6bb213064

View file

@ -130,7 +130,7 @@ to the iso/ directory.
echo "Cleaning up what we can" echo "Cleaning up what we can"
if [ -d "${work_dir}/root-image/boot/" ]; then if [ -d "${work_dir}/root-image/boot/" ]; then
# remove the initcpio images that were generated for the host system # remove the initcpio images that were generated for the host system
find "${work_dir}/root-image/boot" -name *.img -delete find "${work_dir}/root-image/boot" -name '*.img' -delete
fi fi
#TODO is this needed? do it at the Makefile level? #TODO is this needed? do it at the Makefile level?