diff options
author | Mike Burns <mike@mike-burns.com> | 2014-03-03 16:53:32 +0100 |
---|---|---|
committer | Mike Burns <mike@mike-burns.com> | 2014-03-04 16:12:43 +0100 |
commit | 77e8c60ec6fa586d3d5f39e02db51ef2eaa64797 (patch) | |
tree | 7dec29b7721d4b6cbdbaea72563bb73abbd48d92 /bin | |
parent | 00626fe2703dbfc40f8b488af4d845521bc49ab8 (diff) |
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.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/lsrc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |