Revert "Improved support for projects located on Windows network drives // Issue #3417"

This reverts commit a0c959be28.
This commit is contained in:
Ivan Kravets committed 2023-04-21 11:25:48 +03:00
1 parent 6ee9cc04fb
commit 9344f3cd81
4 files changed
+6 -6

No files matched your search

+2 -2
View File
@@ -170,8 +170,8 @@ class LibBuilderBase:
):
return True
# try to resolve paths
root_path = os.path.abspath(root_path)
child_path = os.path.abspath(child_path)
root_path = os.path.realpath(root_path)
child_path = os.path.realpath(child_path)
return (
os.path.commonprefix([root_path + os.path.sep, child_path])
== root_path + os.path.sep