1
0
Fork 0
mirror of https://cgit.krebsco.de/krops synced 2024-11-23 03:29:48 +01:00

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

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