From 342b9dac5c5a460895d84d86f126a6a48d866b14 Mon Sep 17 00:00:00 2001 From: Bertrand Jacquin Date: Sun, 25 Jan 2015 03:03:50 +0000 Subject: scripts: Update email, drop chmod +x, fix symlink creation --- scripts/hook-metadata | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'scripts') 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 +# (c) 2014-2015 - Bertrand Jacquin # # 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)" -- cgit v1.2.3