Don't recursively search symlinks to `.'.
From-SVN: r7271
This commit is contained in:
parent
d7715b7064
commit
d62288093b
@ -112,12 +112,15 @@ do
|
||||
# add that dir to $newdirs
|
||||
if [ -d $d1 ]
|
||||
then
|
||||
newdirs="$newdirs $d1"
|
||||
files="$files $d1"
|
||||
if [ "`ls -ld $d1 | sed -n 's/.*-> //p'`" != "." ]
|
||||
then
|
||||
newdirs="$newdirs $d1"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
done
|
||||
|
||||
files="$files $newdirs"
|
||||
dirs="$newdirs"
|
||||
done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user