Custom PORTAGE_TMPDIR
This commit is contained in:
parent
b88fe0cb24
commit
6a73bbbe69
|
@ -488,8 +488,9 @@ if [ $STAGE_CNT -eq $STAGE ]; then
|
||||||
[ 0 -ne $? ] && echo "Stage $STAGE: eclean -d distfiles failed ;-( =======" && exit $STAGE
|
[ 0 -ne $? ] && echo "Stage $STAGE: eclean -d distfiles failed ;-( =======" && exit $STAGE
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
rm -rf /var/tmp/portage/*
|
i[ -z "${PORTAGE_TMPDIR}" ] && PORTAGE_TMPDIR=/var/tmp
|
||||||
[ 0 -ne $? ] && echo "Stage $STAGE: rm -rf /var/tmp/portage/* failed ;-( =======" && exit $STAGE
|
rm -rf "${PORTAGE_TMPDIR}/portage/*
|
||||||
|
[ 0 -ne $? ] && echo "Stage $STAGE: rm -rf "${PORTAGE_TMPDIR}/portage/* failed ;-( =======" && exit $STAGE
|
||||||
|
|
||||||
let STAGE++
|
let STAGE++
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue