diff options
author | Benjamin C Meyer <ben@meyerhome.net> | 2012-01-25 00:10:16 -0500 |
---|---|---|
committer | Benjamin C Meyer <ben@meyerhome.net> | 2012-01-25 00:39:12 -0500 |
commit | 745105dd3208e9dcfb1e30f18844d67360f01d37 (patch) | |
tree | 142b2f1e489ca05f20a7275ca30fa51cfb8fee99 | |
parent | c92277bf74855ebb79f8662aa8ce9a2a3383168b (diff) | |
download | git-hooks-745105dd3208e9dcfb1e30f18844d67360f01d37.tar.gz git-hooks-745105dd3208e9dcfb1e30f18844d67360f01d37.tar.bz2 |
Fix whitespace errors introduced by
7502217953a8e8e5b56f0a531a16cfc14b825e82
Signed-off-by: Benjamin C Meyer <ben@meyerhome.net>
-rw-r--r-- | LICENSE | 2 | ||||
-rwxr-xr-x | git-hooks | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -# 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 @@ -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 |