summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorSimon Stelling <blubb@gentoo.org>2006-04-15 12:08:51 +0000
committerSimon Stelling <blubb@gentoo.org>2006-04-15 12:08:51 +0000
commit2add176fe10ff9cc06103fcfebcc5b9a47033ffa (patch)
treef34db5ffd56fb7fec699c4debd41e9cdac47f8e3 /bin
parentca12cd6a5114f2fa9a7009768a78e610762ad350 (diff)
downloadportage-2add176fe10ff9cc06103fcfebcc5b9a47033ffa.tar.gz
portage-2add176fe10ff9cc06103fcfebcc5b9a47033ffa.tar.bz2
portage-2add176fe10ff9cc06103fcfebcc5b9a47033ffa.zip
only move $T/environment if it exists; bug 64926
svn path=/main/trunk/; revision=3151
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ebuild.sh2
1 files changed, 1 insertions, 1 deletions
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