Symlink entries requires special handling to get just the path part.

This commit is contained in:
Tom G. Christensen 2008-05-02 18:41:48 +00:00
parent 546b05fa8f
commit 17e61dfc80

View File

@ -436,7 +436,7 @@ auto_dir()
local i
local j
fdirs=$($AWK '/^[fs]/ { print $3 }' $metadir/prototype.$secname | $SED -e 's,\(.*\)/.*$,\1,' | $SORT -u)
fdirs=$($AWK '/^[fs]/ { print $3 }' $metadir/prototype.$secname | $SED -e 's,\(.*\)=.*$,\1,' | $SED -e 's,\(.*\)/.*$,\1,' | $SORT -u)
ddirs=$($AWK '/^d/ { print $3 }' $metadir/prototype.$secname | $SORT -u)
for i in $fdirs