summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Mike Burns <mike@mike-burns.com>2014-03-03 16:53:32 +0100
committerGravatar Mike Burns <mike@mike-burns.com>2014-03-04 16:12:43 +0100
commit77e8c60ec6fa586d3d5f39e02db51ef2eaa64797 (patch)
tree7dec29b7721d4b6cbdbaea72563bb73abbd48d92
parent00626fe2703dbfc40f8b488af4d845521bc49ab8 (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.
-rwxr-xr-xbin/lsrc4
1 files 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