1
0
mirror of https://cgit.krebsco.de/krops synced 2024-06-02 22:23:33 +02: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