summaryrefslogtreecommitdiff
path: root/apply
diff options
context:
space:
mode:
Diffstat (limited to 'apply')
-rw-r--r--apply/state.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/apply/state.py b/apply/state.py
index 9dafe9d..12440a6 100644
--- a/apply/state.py
+++ b/apply/state.py
@@ -55,7 +55,7 @@ class FileState(Enum):
@staticmethod
def check_location(path: Path) -> "FileState":
if path.is_symlink():
- dest = Path(os.path.realpath(str(path)))
+ dest = Path(os.readlink(str(path)))
if Path.cwd() in dest.parents:
return FileState.create_owned(dest)