diff options
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh index c3ae1d766df..bc9c5a008e0 100755 --- a/autogen.sh +++ b/autogen.sh @@ -226,6 +226,7 @@ if test -d .git/hooks; then tailored_hooks="$tailored_hooks $hook" done for hook in applypatch-msg pre-applypatch; do + test ! -r .git/hooks/$hook.sample || cmp .git/hooks/$hook.sample .git/hooks/$hook >/dev/null 2>&1 || sample_hooks="$sample_hooks $hook" done |