From 044cd57720f2c406107d636ee50f96b2ef913133 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Thu, 14 Jul 2011 18:36:40 +0200 Subject: [PATCH] release.sh: jail precaution --- tools/release.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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" -- 2.44.0