Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content
This repository was archived by the owner on Mar 3, 2020. It is now read-only.

Commit 3cfe1ea

Browse files
committed
Fix the extra trailing '/' for symlinks
Following issues for pull requests holman#186 and holman#192. Using the find flag '-H', which allows for following symlinks if the input is itself a symlink, without having to add any extra '/' that appears everywhere with all the symlinks. (Tested on Mac and Debian Linux) pull request holman#192 should be closed since I did change multiple files and the whole commit was messed up
1 parent 357a445 commit 3cfe1ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

script/bootstrap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ install_dotfiles () {
130130

131131
local overwrite_all=false backup_all=false skip_all=false
132132

133-
for src in $(find "$DOTFILES_ROOT/" -maxdepth 2 -name '*.symlink')
133+
for src in $(find -H "$DOTFILES_ROOT" -maxdepth 2 -name '*.symlink')
134134
do
135135
dst="$HOME/.$(basename "${src%.*}")"
136136
link_file "$src" "$dst"

0 commit comments

Comments
 (0)