From c6bb213064dd0e8195563fa8a25afb1774d67387 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Sat, 24 Jan 2009 17:43:21 -0600 Subject: Single quotes around find patterns during cleanup Whoops, *.img expands if we're building USB images. Signed-off-by: Aaron Griffin --- archiso/mkarchiso | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archiso/mkarchiso b/archiso/mkarchiso index 8c5d3ec..e868e8b 100755 --- a/archiso/mkarchiso +++ b/archiso/mkarchiso @@ -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? -- cgit v1.2.3-70-g09d2