diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/hook-metadata | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/hook-metadata b/scripts/hook-metadata index fd8b3e0c..66eac9ab 100755 --- a/scripts/hook-metadata +++ b/scripts/hook-metadata @@ -1,6 +1,6 @@ #!/bin/bash # -# (c) 2014 - Bertrand Jacquin <beber@meleeweb.net> +# (c) 2014-2015 - Bertrand Jacquin <bertrand@jacquin.bzh> # # Called by git-commit with no arguments. The hook should # exit with non-zero status after issuing an appropriate message if @@ -8,8 +8,7 @@ # # To enable this hook, run: # cd $(git rev-parse --show-toplevel) -# chmod +x scripts/hook-metadata -# ln -s scripts/hook-metadata .git/hooks/pre-commit +# ln -s ../../scripts/hook-metadata .git/hooks/pre-commit ROOT="$(git rev-parse --show-toplevel)" REPO="$(< ${ROOT}/profiles/repo_name)" |