summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorGravatar patrick brisbin <pbrisbin@gmail.com>2014-02-28 09:46:36 -0500
committerGravatar patrick brisbin <pbrisbin@gmail.com>2014-02-28 09:46:36 -0500
commit0d767c39e99685e690a41085b18b2a2690f39e20 (patch)
treef633e360972a913fb28d8faf48bf75c4f8ecaa44 /bin
parentfcd3f2d3a793895e2695ad6bf52fde9578f6b148 (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 'bin')
0 files changed, 0 insertions, 0 deletions