diff options
author | Alex Thiessen <alex.thiessen.de+coreboot@gmail.com> | 2018-01-13 17:05:31 +0000 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2018-01-18 19:29:10 +0000 |
commit | fda071ca7a17614a58c0812c28b14a417471b915 (patch) | |
tree | 39d6f08cba246f75e11d73e4e1ea02b90d9ed747 /util/bimgtool | |
parent | f73914d1aa76e9d99fe8f815a955cf9acb1e8711 (diff) | |
download | coreboot-fda071ca7a17614a58c0812c28b14a417471b915.tar.xz |
util/gitconfig: Make gitconfig.sh support gitfile
The `gitconfig.sh` script installs hooks to the according directories
(for coreboot and its submodules). It has the `hooks` directory
hard-coded to be `.git/hooks`, which makes the installation fail when
coreboot itself is a submodule because then `.git` becomes a gitfile.
Replace hard-coded path handling using the according `git rev-parse`
calls.
Change-Id: I778e20be24bb27d0081c9e1c12883117d6d50347
Signed-off-by: Alex Thiessen <alex.thiessen.de+coreboot@gmail.com>
Reviewed-on: https://review.coreboot.org/23253
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'util/bimgtool')
0 files changed, 0 insertions, 0 deletions