Issue #10506
This commit is contained in:
parent
56544c11b5
commit
598eea1417
|
@ -203,7 +203,7 @@ def determine_setup(
|
||||||
else:
|
else:
|
||||||
cwd = Path.cwd()
|
cwd = Path.cwd()
|
||||||
rootdir = get_common_ancestor([cwd, ancestor])
|
rootdir = get_common_ancestor([cwd, ancestor])
|
||||||
is_fs_root = os.path.splitdrive(str(rootdir))[1] == "/"
|
is_fs_root = os.path.splitdrive(str(rootdir))[1] == os.sep
|
||||||
if is_fs_root:
|
if is_fs_root:
|
||||||
rootdir = ancestor
|
rootdir = ancestor
|
||||||
if rootdir_cmd_arg:
|
if rootdir_cmd_arg:
|
||||||
|
|
Loading…
Reference in New Issue