diff options
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2008-12-23 00:33:46 -0800 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2008-12-23 00:33:46 -0800 |
commit | 32a1991679b90d4c4bf102d535d5e5bb10012b90 (patch) | |
tree | 57aaecb85cfdfb2b140748518ce681c07d0f4ce4 /archiso | |
parent | 059bb3562869c04f5488e74bbdfd698cc894be11 (diff) |
Properly remove the usb image's tmpdir
Guess what? rm -f won't remove a dir. Whoops
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'archiso')
-rwxr-xr-x | archiso/mkarchiso | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archiso/mkarchiso b/archiso/mkarchiso index ec4fcb9..469bd08 100755 --- a/archiso/mkarchiso +++ b/archiso/mkarchiso @@ -276,7 +276,7 @@ command_usb () { mount -o loop "$fsimg" "$TMPDIR" cp -a "${work_dir}"/iso/* "$TMPDIR" umount "$TMPDIR" - rm -f "$TMPDIR" + rm -rf "$TMPDIR" # add sectors 0-62, then glue together dd if=/dev/zero of="${imgname}" bs=512 count=63 |