bootstrap: allow chained symlinks
This commit is contained in:
parent
5f22148d5a
commit
ad9b5e0a77
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ prune_link() { # Remove $1 if it's a broken link to a dotfile script.
|
||||||
}
|
}
|
||||||
|
|
||||||
file_link() { # Make sure $1 is a link to $2.
|
file_link() { # Make sure $1 is a link to $2.
|
||||||
target="$(realpath "$2")"
|
target="$(realpath -s "$2")"
|
||||||
if [ "$(readlink "$1")" = "$target" ]; then
|
if [ "$(readlink "$1")" = "$target" ]; then
|
||||||
info "OK: $1"
|
info "OK: $1"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Reference in a new issue