diff options
author | Gabe Black <gabeblack@google.com> | 2017-03-25 02:06:39 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2017-03-26 17:33:57 +0000 |
commit | ed44b7f6e2e6e737eda6a305afc50d3f958736b1 (patch) | |
tree | 692d9a24b4d968814398da933e7ec574bae580c7 /build_opts/ALPHA_MOESI_CMP_directory | |
parent | 03ea796a7906b70a30f61f8cb4a5b6d79ca65589 (diff) | |
download | gem5-ed44b7f6e2e6e737eda6a305afc50d3f958736b1.tar.xz |
scons: Detect and remove broken git hook symlinks.
When installing a git hook, it's possible for the hook to not "exist" if it's
actually a symlink which points to a file that doesn't exist. Trying to create
a new symlink in its place without first removing the old one causes a build
failure in these cases.
If the hook doesn't "exist" but is still a link, that means it's actually a
broken link and should be deleted by the hook installation function before any
new symlink is created.
Change-Id: I59aa51feb5bd74ca33e51e89cde2ceabeb41bd76
Reviewed-on: https://gem5-review.googlesource.com/2540
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'build_opts/ALPHA_MOESI_CMP_directory')
0 files changed, 0 insertions, 0 deletions