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
|
fi
|
||||||
echo "# End of configuration file." >> $XBPSSRC_CF
|
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()
|
prepare_chroot()
|
||||||
{
|
{
|
||||||
local f=
|
local f=
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue