From: Caleb Maclennan Date: Wed, 26 Feb 2014 16:44:19 +0000 (+0200) Subject: use more portable find syntax X-Git-Url: https://git.madduck.net/code/vcsh.git/commitdiff_plain/69551bd0e85d95133447a5dda6f2e221830b825c?ds=sidebyside;hp=-c use more portable find syntax BSD find (e.g. as found on Mac OSX) has more strict rules for parsing arguments and needs a path. PWD is not assumed as on GNU find. --- 69551bd0e85d95133447a5dda6f2e221830b825c diff --git a/doc/sample_hooks/post-merge-unclobber b/doc/sample_hooks/post-merge-unclobber index 23c757c..2b8f286 100755 --- a/doc/sample_hooks/post-merge-unclobber +++ b/doc/sample_hooks/post-merge-unclobber @@ -7,4 +7,4 @@ # directory. Git and thus vcsh now see these as un-staged changes to the # working branch and you can deal with them as usual. -find -name '*.vcsh-unclobber' -execdir rename .vcsh-unclobber '' {} \; +find . -name '*.vcsh-unclobber' -execdir rename .vcsh-unclobber '' {} \;