fs: symlinking: fix recursive links (don't follow links when creating new ones)
This commit is contained in:
@@ -295,7 +295,7 @@ let
|
|||||||
lnfrom="$1"
|
lnfrom="$1"
|
||||||
lnto="$2"
|
lnto="$2"
|
||||||
|
|
||||||
ln -sf "$lnto" "$lnfrom"
|
ln -sf --no-dereference "$lnto" "$lnfrom"
|
||||||
'';
|
'';
|
||||||
scriptArgs = [ path link-cfg.target ];
|
scriptArgs = [ path link-cfg.target ];
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user