summaryrefslogtreecommitdiff
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
parentSplit out a reusable Manifest._readManifest() method. (diff)
downloadportage-multirepo-2add176fe10ff9cc06103fcfebcc5b9a47033ffa.tar.gz
portage-multirepo-2add176fe10ff9cc06103fcfebcc5b9a47033ffa.tar.bz2
portage-multirepo-2add176fe10ff9cc06103fcfebcc5b9a47033ffa.zip
only move $T/environment if it exists; bug 64926
svn path=/main/trunk/; revision=3151
-rwxr-xr-xbin/ebuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index c4cf610f..b5a581c3 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