diff --git a/tools/release.sh b/tools/release.sh index 3ba2b148e..b227bc0af 100755 --- a/tools/release.sh +++ b/tools/release.sh @@ -299,7 +299,8 @@ fi # If we are making a jail, all is done! if [ $JAILMODE = 1 ] -then mv $RELEASEDIR $FINAL_JAILDIR +then rm -rf $FINAL_JAILDIR + mv $RELEASEDIR $FINAL_JAILDIR echo "Created new minix install in $FINAL_JAILDIR." echo "Enter it by typing: " echo "# chroot $FINAL_JAILDIR /bin/sh"