xbps-src: clean up /tmp when entering to the chroot.
This commit is contained in:
parent
216b724277
commit
82d298b6ca
1 changed files with 5 additions and 0 deletions
|
@ -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=
|
||||
|
|
Loading…
Reference in a new issue