mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 09:17:43 +03:00
18 lines
408 B
Plaintext
Executable File
18 lines
408 B
Plaintext
Executable File
#!/usr/bin/env nix-shell
|
|
#! nix-shell -i bash -p coreutils --pure
|
|
|
|
# From
|
|
# http://unix.stackexchange.com/questions/34248/how-can-i-find-broken-symlinks
|
|
|
|
echo "Listing broken symlinks below $PWD:"
|
|
echo
|
|
|
|
find . -type l -! -exec test -e {} \; -print
|
|
|
|
echo
|
|
echo "Please be careful when removing broken links."
|
|
echo "Some of them are there on purpose."
|
|
echo "(e.g., the ones below 'dev-env/var/gc-roots')"
|
|
echo
|
|
|