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