From: Ben Gras Date: Thu, 14 Jul 2011 16:36:40 +0000 (+0200) Subject: release.sh: jail precaution X-Git-Tag: v3.2.0~459 X-Git-Url: http://zhaoyanbai.com/repos/%22../static/icons/mandoc.1.ps?a=commitdiff_plain;h=044cd57720f2c406107d636ee50f96b2ef913133;p=minix.git release.sh: jail precaution --- 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"