summaryrefslogtreecommitdiff
path: root/share/rcm.sh.in
diff options
context:
space:
mode:
authorGravatar Daniel Watson <dwatson@thig.com>2014-03-18 14:59:10 -0400
committerGravatar Mike Burns <mike@mike-burns.com>2014-03-19 13:41:30 +0100
commitf28664edeef1659c868780b58d8cfced88676dd1 (patch)
tree9d6eb23eb766e56186dd403a2b31cbc571cf1e3f /share/rcm.sh.in
parent5c1d6b4d9d2b06ff765dfe3a31e2cd0106b10d30 (diff)
Fixed hooks not executing under Cygwin
Diffstat (limited to 'share/rcm.sh.in')
-rw-r--r--share/rcm.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/rcm.sh.in b/share/rcm.sh.in
index bcf3dce..9f69e56 100644
--- a/share/rcm.sh.in
+++ b/share/rcm.sh.in
@@ -119,7 +119,7 @@ run_hooks() {
if [ -e "$hook_file" ]; then
$VERBOSE "running $when-$direction hooks for $dotfiles_dir"
- find "$hook_file" -type f -perm +111 -print -exec {} \;
+ find "$hook_file" -type f -perm -111 -print -exec {} \;
else
$DEBUG "no $when-$direction hook present for $dotfiles_dir, skipping"
fi