summaryrefslogtreecommitdiff
path: root/archiso
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2009-01-24 17:43:21 -0600
committerAaron Griffin <aaronmgriffin@gmail.com>2009-01-24 17:43:21 -0600
commitc6bb213064dd0e8195563fa8a25afb1774d67387 (patch)
treea666093a03906dd066298816665a05cc4159db7b /archiso
parenta2b56008ea3ef0c5206f53aaa61a7b714cda8c24 (diff)
downloadarchiso32-c6bb213064dd0e8195563fa8a25afb1774d67387.tar.xz
Single quotes around find patterns during cleanup
Whoops, *.img expands if we're building USB images. Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'archiso')
-rwxr-xr-xarchiso/mkarchiso2
1 files changed, 1 insertions, 1 deletions
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?