diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2018-03-22 14:29:31 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2018-03-22 14:29:31 +0100 |
commit | d5231e63862bf11e02839c67a8a3297da09c5f29 (patch) | |
tree | dbca426eff94d5fba18e4849e4d51df638d15f0f /scripts | |
parent | 10ab36e2472ed6e4813c1e0f5972e10fc9fa1164 (diff) |
Add CI script for finding dead symlinks
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/find-dead-symlinks | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/find-dead-symlinks b/scripts/find-dead-symlinks new file mode 100755 index 00000000..b1dff84c --- /dev/null +++ b/scripts/find-dead-symlinks @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +[[ 0 == "$(find . -xtype l | wc -l)" ]] || { + echo >2 "DEAD SYMLINKS FOUND" + exit 1 +} + |