From 74caf0e21f42949f14f45beeb1a145a0fc76a812 Mon Sep 17 00:00:00 2001 From: Arun Thomas Date: Thu, 16 Feb 2012 23:08:22 +0100 Subject: [PATCH] mkboot: ensure image target dir is cleaned up --- tools/mkboot | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/mkboot b/tools/mkboot index 0389cb707..3c48fdeee 100755 --- a/tools/mkboot +++ b/tools/mkboot @@ -126,6 +126,7 @@ hdboot) if [ "$hdboot_t" = "minix" ] then [ -d /boot/minix/.temp ] || exit 1 + rm -rf /boot/minix/"$target"/ mv /boot/minix/.temp /boot/minix/"$target" rm -f /boot/minix_latest ln -s minix/"$target" /boot/minix_latest -- 2.44.0