diff options
author | Daniel Watson <dwatson@thig.com> | 2014-03-18 14:59:10 -0400 |
---|---|---|
committer | Mike Burns <mike@mike-burns.com> | 2014-03-19 13:41:30 +0100 |
commit | f28664edeef1659c868780b58d8cfced88676dd1 (patch) | |
tree | 9d6eb23eb766e56186dd403a2b31cbc571cf1e3f | |
parent | 5c1d6b4d9d2b06ff765dfe3a31e2cd0106b10d30 (diff) |
Fixed hooks not executing under Cygwin
-rw-r--r-- | NEWS.md.in | 1 | ||||
-rw-r--r-- | man/rcm.7 | 1 | ||||
-rw-r--r-- | share/rcm.sh.in | 2 |
3 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,6 @@ rcm (@PACKAGE_VERSION@) unstable; urgency=low + * BUGFIX: Cygwin now executes hooks (Daniel Watson). * BUGFIX: Support -v option on OpenBSD (Javier López). -- Mike Burns <mburns@thoughtbot.com> Mon, 03 Feb 2014 16:58:33 +0200 @@ -244,6 +244,7 @@ and .An "Anton Ilin" Aq Mt anton@ilin.dn.ua .An "Caleb Land" Aq Mt caleb@land.fm .An "Dan Croak" Aq Mt dan@thoughtbot.com +.An "Daniel Watson" Aq Mt dbwatson@vectorspace.org .An "George Brocklehurst" Aq Mt george@thoughtbot.com .An "Javier López" Aq Mt linux.kitten@gmail.com .An "Jordan Eldredge" Aq Mt jordaneldredge@gmail.com 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 |