mirror of
https://github.com/Matir/skel.git
synced 2026-05-25 21:19:09 -07:00
Improve prune-broken-symlinks
This commit is contained in:
@@ -12,7 +12,7 @@ prune-broken-symlinks() {
|
||||
ASK=1
|
||||
fi
|
||||
DIR=${1:-.}
|
||||
FINDCMD=(find -L ${DIR} -type l)
|
||||
FINDCMD=(find -L ${DIR} -xdev -type l)
|
||||
if (($ASK)) ; then
|
||||
local FILES
|
||||
FILES=`${FINDCMD} -print`
|
||||
|
||||
Reference in New Issue
Block a user