diff options
-rw-r--r-- | pym/portage.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py index c9d55ae76..8f0609c17 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -6511,7 +6511,7 @@ class dblink: # directory in the way: we can't merge a symlink over a directory # we won't merge this, continue with next file... continue - srctarget = os.path.normpath(os.path.dirname(mysrc)+"/"+myto) + if os.path.exists(mysrc) and stat.S_ISDIR(os.stat(mysrc)[stat.ST_MODE]): # Kill file blocking installation of symlink to dir #71787 pass |