Commit d6228809 by Ian Lance Taylor

Don't recursively search symlinks to `.'.

From-SVN: r7271
parent d7715b70
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment