aboutsummaryrefslogtreecommitdiff
path: root/git-hooks
diff options
context:
space:
mode:
Diffstat (limited to 'git-hooks')
-rwxr-xr-xgit-hooks4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-hooks b/git-hooks
index d1b1f6e..3523c1b 100755
--- a/git-hooks
+++ b/git-hooks
@@ -1,6 +1,6 @@
#!/bin/bash
#
-# Copyright (c) 2010-2011, Benjamin C. Meyer <ben@meyerhome.net>
+# Copyright (c) 2010-2012, Benjamin C. Meyer <ben@meyerhome.net>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -43,7 +43,7 @@ function hook_dirs
function list_hooks_in_dir
{
- if [[ $OSTYPE =~ 'darwin' ]] ; then
+ if [[ $OSTYPE =~ 'darwin' ]] ; then
find "${1}/" -type f 2>/dev/null | grep -v "^.$" | sort
else
find "${1}/" -executable -type f 2>/dev/null | grep -v "^.$" | sort -V