diff options
author | Simon Stelling <blubb@gentoo.org> | 2006-04-15 12:08:51 +0000 |
---|---|---|
committer | Simon Stelling <blubb@gentoo.org> | 2006-04-15 12:08:51 +0000 |
commit | 2add176fe10ff9cc06103fcfebcc5b9a47033ffa (patch) | |
tree | f34db5ffd56fb7fec699c4debd41e9cdac47f8e3 | |
parent | ca12cd6a5114f2fa9a7009768a78e610762ad350 (diff) | |
download | portage-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
-rwxr-xr-x | bin/ebuild.sh | 2 |
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 |