xbps-src: destroy <masterdir>/tmp before entering the chroot.

This commit is contained in:
Juan RP 2014-07-01 15:06:47 +02:00
parent ad770b7e9b
commit ff00dc5448
1 changed files with 5 additions and 0 deletions

View File

@ -51,6 +51,11 @@ _EOF
else
rm -f $XBPS_MASTERDIR/etc/xbps/repo.d/00-alternative.conf
fi
if [ -d $XBPS_MASTERDIR/tmp ]; then
rm -rf $XBPS_MASTERDIR/tmp
mkdir -p $XBPS_MASTERDIR/tmp
fi
}
chroot_prepare() {