More rigorous and fast eclean distfiles/packages.
This commit is contained in:
parent
ab041c147a
commit
6da19d5e00
|
@ -414,13 +414,13 @@ if [ $STAGE_CNT -eq $STAGE ]; then
|
||||||
[ 0 -ne $? ] && echo "Stage $STAGE: localepurge failed ;-( =======" && exit $STAGE
|
[ 0 -ne $? ] && echo "Stage $STAGE: localepurge failed ;-( =======" && exit $STAGE
|
||||||
fi
|
fi
|
||||||
if [ `which eclean 2>/dev/null` ]; then
|
if [ `which eclean 2>/dev/null` ]; then
|
||||||
$NICE_CMD eclean packages
|
$NICE_CMD eclean -d packages
|
||||||
[ 0 -ne $? ] && echo "Stage $STAGE: eclean packages failed ;-( =======" && exit $STAGE
|
[ 0 -ne $? ] && echo "Stage $STAGE: eclean -d packages failed ;-( =======" && exit $STAGE
|
||||||
|
|
||||||
in_list "$ECLEAN_DISTFILES" ${TRUE_LIST[@]}
|
in_list "$ECLEAN_DISTFILES" ${TRUE_LIST[@]}
|
||||||
if [ 0 -eq $? ]; then
|
if [ 0 -eq $? ]; then
|
||||||
$NICE_CMD eclean distfiles
|
$NICE_CMD eclean -d distfiles
|
||||||
[ 0 -ne $? ] && echo "Stage $STAGE: eclean distfiles failed ;-( =======" && exit $STAGE
|
[ 0 -ne $? ] && echo "Stage $STAGE: eclean -d distfiles failed ;-( =======" && exit $STAGE
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
rm -rf /var/tmp/portage/*
|
rm -rf /var/tmp/portage/*
|
||||||
|
|
Loading…
Reference in New Issue