populate symlink: fail if target is a directory

This commit is contained in:
tv 2018-11-28 12:07:55 +01:00
parent 4ce5dae7bc
commit d92cc88a3c
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ let
# TODO rm -fR instead of ln -f?
pop.symlink = target: source: shell' target /* sh */ ''
ln -fns ${quote source.target} ${quote target.path}
ln -fnsT ${quote source.target} ${quote target.path}
'';
populate = target: name: source: let