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:
parent
a2b56008ea
commit
c6bb213064
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ to the iso/ directory.
|
|||
echo "Cleaning up what we can"
|
||||
if [ -d "${work_dir}/root-image/boot/" ]; then
|
||||
# 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
|
||||
|
||||
#TODO is this needed? do it at the Makefile level?
|
||||
|
|
Loading…
Add table
Reference in a new issue