diff options
author | patrick brisbin <pbrisbin@gmail.com> | 2014-02-28 09:46:36 -0500 |
---|---|---|
committer | patrick brisbin <pbrisbin@gmail.com> | 2014-02-28 09:46:36 -0500 |
commit | 0d767c39e99685e690a41085b18b2a2690f39e20 (patch) | |
tree | f633e360972a913fb28d8faf48bf75c4f8ecaa44 /man | |
parent | fcd3f2d3a793895e2695ad6bf52fde9578f6b148 (diff) |
Correctly set hook_file in run_hooks
The code was setting the $hook_file variable to
$dotfiles_dir/hooks/$when-$direction outside of the loop which actually
sets the $dotfiles_dir variable to each of the dotfiles directories
being processed in turn. This would lead to (for example) /hooks/post-up
which is not correct.
The fix is to move that logic into the loop.
Diffstat (limited to 'man')
0 files changed, 0 insertions, 0 deletions