From 1f233f005a09367e75420a6f04cd9cff5e16b032 Mon Sep 17 00:00:00 2001 From: Olivier Date: Sun, 1 Nov 2020 21:53:17 +0000 Subject: [PATCH] Fix symlink checked mode --- scone/default/recipes/filesystem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scone/default/recipes/filesystem.py b/scone/default/recipes/filesystem.py index 257c04e..1511e0f 100644 --- a/scone/default/recipes/filesystem.py +++ b/scone/default/recipes/filesystem.py @@ -162,7 +162,7 @@ class EnsureSymlink(Recipe): preparation.provides(kind, str(path)) if self.checked: - preparation.needs(kind, str(Path(path, self.target))) + preparation.needs(kind, str(Path(path.parent, self.target))) async def cook(self, k: Kitchen): await k.ut0(MakeSymlink(self.path, self.target))