From 77e8c60ec6fa586d3d5f39e02db51ef2eaa64797 Mon Sep 17 00:00:00 2001 From: Mike Burns Date: Mon, 3 Mar 2014 16:53:32 +0100 Subject: Symlink dirs that are tag- or host-specific The original `SYMLINK_DIRS` pull request had ignored the tag- and host-specific sections. This brings them back into being. --- bin/lsrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/lsrc b/bin/lsrc index 2634e54..301960d 100755 --- a/bin/lsrc +++ b/bin/lsrc @@ -307,7 +307,7 @@ for DOTFILES_DIR in $DOTFILES_DIRS; do if [ -d "$host_files" ]; then pushdir "$(basename "$host_files")" for file in ${FILES:-*}; do - handle_file "$file" "$DEST_DIR" "$host_files" . 0 "$exclude_file_globs" "$include_file_globs" + handle_file "$file" "$DEST_DIR" "$host_files" . 0 "$exclude_file_globs" "$include_file_globs" "$symlink_dirs_file_globs" done popdir fi @@ -319,7 +319,7 @@ for DOTFILES_DIR in $DOTFILES_DIRS; do pushdir "$(basename "tag-$tag")" for file in ${FILES:-*}; do $DEBUG "TAG: $tag, exclude_file_globs: $exclude_file_globs" - handle_file "$file" "$DEST_DIR" "$DOTFILES_DIR/tag-$tag" . 0 "$exclude_file_globs" "$include_file_globs" + handle_file "$file" "$DEST_DIR" "$DOTFILES_DIR/tag-$tag" . 0 "$exclude_file_globs" "$include_file_globs" "$symlink_dirs_file_globs" done popdir fi -- cgit v1.2.3