From: Simon Stelling Date: Sat, 15 Apr 2006 12:08:51 +0000 (-0000) Subject: only move $T/environment if it exists; bug 64926 X-Git-Tag: v2.1_pre9~17 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2add176fe10ff9cc06103fcfebcc5b9a47033ffa;p=portage.git only move $T/environment if it exists; bug 64926 svn path=/main/trunk/; revision=3151 --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index c4cf610f1..b5a581c31 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -725,7 +725,7 @@ dyn_clean() { if ! hasq keeptemp $FEATURES; then rm -rf "${T}" else - mv "${T}/environment" "${T}/environment.keeptemp" + [ -e "${T}/environment ] && mv "${T}/environment" "${T}/environment.keeptemp" fi if ! hasq keepwork $FEATURES; then