xbps-src: clean up /tmp when entering to the chroot.

This commit is contained in:
Juan RP 2010-12-18 14:33:30 +01:00
parent 216b724277
commit 82d298b6ca

View file

@ -77,6 +77,11 @@ if [ -n "$XBPS_COMPRESS_LEVEL" ]; then
fi
echo "# End of configuration file." >> $XBPSSRC_CF
msg_normal "Cleaning up /tmp..."
if [ -d $XBPS_MASTERDIR/tmp ]; then
rm -rf $XBPS_MASTERDIR/tmp/*
fi
prepare_chroot()
{
local f=