Use only posix find in prune-broken-symlinks

This commit is contained in:
David Tomaschik
2020-10-03 15:18:57 -07:00
parent 5ad1ad4616
commit 465bfd37f1

View File

@@ -12,7 +12,7 @@ prune-broken-symlinks() {
ASK=1
fi
DIR=${1:-.}
FINDCMD=(find ${DIR} -type l -xtype l)
FINDCMD=(find -L ${DIR} -type l)
if (($ASK)) ; then
local FILES
FILES=`${FINDCMD} -print`