@@ -61,7 +61,7 @@ def write_loader_conf(profile: Optional[str], generation: int) -> None:
6161
6262
6363def profile_path(profile: Optional[str], generation: int, name: str) -> str:
64− return os.readlink("%s/%s" % (system_dir(profile, generation), name))
64+ return os.path.realpath("%s/%s" % (system_dir(profile, generation), name))
6565
6666
6767def copy_from_profile(profile: Optional[str], generation: int, name: str, dry_run: bool = False) -> str: