diff options
author | Bertrand Jacquin <bertrand@jacquin.bzh> | 2015-01-25 03:03:50 +0000 |
---|---|---|
committer | Bertrand Jacquin <bertrand@jacquin.bzh> | 2015-03-28 17:20:11 +0000 |
commit | 342b9dac5c5a460895d84d86f126a6a48d866b14 (patch) | |
tree | fccafebfb345abb020ba8c5eec5f4fc3f5d50f2f /scripts/hook-metadata | |
parent | x11-themes/terminology-pikalogy: Import (diff) | |
download | portage-342b9dac5c5a460895d84d86f126a6a48d866b14.tar.xz |
scripts: Update email, drop chmod +x, fix symlink creation
Diffstat (limited to 'scripts/hook-metadata')
-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)" |