Fix symlink checked mode

This commit is contained in:
Olivier 'reivilibre' 2020-11-01 21:53:17 +00:00
parent 5e7020e19d
commit 1f233f005a

View File

@ -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))