From f28664edeef1659c868780b58d8cfced88676dd1 Mon Sep 17 00:00:00 2001 From: Daniel Watson Date: Tue, 18 Mar 2014 14:59:10 -0400 Subject: Fixed hooks not executing under Cygwin --- share/rcm.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share/rcm.sh.in') 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 -- cgit v1.2.3