diff options
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-01-24 17:43:21 -0600 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2009-01-24 17:43:21 -0600 |
commit | c6bb213064dd0e8195563fa8a25afb1774d67387 (patch) | |
tree | a666093a03906dd066298816665a05cc4159db7b | |
parent | a2b56008ea3ef0c5206f53aaa61a7b714cda8c24 (diff) | |
download | archiso32-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>
-rwxr-xr-x | archiso/mkarchiso | 2 |
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? |