Skip to content

Commit

Permalink
MOD: script.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
pforret committed Oct 31, 2023
1 parent 9211d8a commit d26645b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,7 @@ function Os:follow_link() {
[[ -z "$link_folder" ]] && link_folder="$file_folder" ## if no link path, stay in same folder
[[ "$link_folder" == \.* ]] && link_folder="$(cd -P "$file_folder" && cd -P "$link_folder" &> /dev/null && pwd)" ## a relative link path was given, resolve it
link_name=$(basename "$symlink")
IO:debug "$info_icon Symbolic ln: $1 -> [$symlink]"
IO:debug "$info_icon Symbolic ln: $1 -> [$link_folder/$link_name]"
Os:follow_link "$link_folder/$link_name" ## recurse
}

Expand Down

0 comments on commit d26645b

Please sign in to comment.