diff --git a/src/rez/utils/filesystem.py b/src/rez/utils/filesystem.py index 3bd98e796..8826aa5fa 100644 --- a/src/rez/utils/filesystem.py +++ b/src/rez/utils/filesystem.py @@ -365,7 +365,7 @@ def to_abs(target): for name in os.listdir(path): linkpath = os.path.join(path, name) - if os.path.islink: + if os.path.islink(linkpath): source_ = os.readlink(linkpath) if to_abs(source_) == abs_source: return name