aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xutil/mktinderboxchroot.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/mktinderboxchroot.sh b/util/mktinderboxchroot.sh
index fd909f0..c096210 100755
--- a/util/mktinderboxchroot.sh
+++ b/util/mktinderboxchroot.sh
@@ -180,7 +180,7 @@ else
rm -rf --one-file-system "$BASE_CHROOT/etc/portage/"
mkdir -p "$BASE_CHROOT/etc/portage"
-
+
echo -n "Copying settings..."
cp -L /etc/resolv.conf "$BASE_CHROOT/etc"
cp -L /etc/make.conf "$BASE_CHROOT/etc"
@@ -193,6 +193,7 @@ if [ $MODIFY_BASE_CHROOT -eq 1 ];then
mount_all_dirs $BASE_CHROOT
chroot $BASE_CHROOT /bin/bash
umount_all_dirs $BASE_CHROOT
+ rm "$BASE_CHROOT.tar"
exit 0;
fi