во, ща находит дох.я

This commit is contained in:
Kolan Sh 2011-07-08 18:14:25 +04:00
parent c8f6aa36d4
commit 1d15399e38
1 changed files with 2 additions and 0 deletions

View File

@ -111,6 +111,8 @@ while [ $nfiles != $nparsed ]; do
for d in . $REP_INCLUDE; do for d in . $REP_INCLUDE; do
if [ -f "$d/$f.$ext" ]; then if [ -f "$d/$f.$ext" ]; then
F="$d/$f.$ext" F="$d/$f.$ext"
elif [ -f "$d/`basename $f.$ext`" ]; then
F="$d/`basename $f.$ext`"
fi fi
if [ "$F" != "" ]; then if [ "$F" != "" ]; then
flist[$nfiles]=$f.$ext flist[$nfiles]=$f.$ext