fix file discovery
This commit is contained in:
parent
933aa466c4
commit
dc26f877b7
14
urchin
14
urchin
@ -134,12 +134,16 @@ recurse() {
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "${requested_path}" | grep "^${potential_test}" > /dev/null ||
|
if echo "${requested_path}" | grep "^${potential_test}" > /dev/null ||
|
||||||
echo "${potential_test}" | grep "^${requested_path}" > /dev/null ||
|
echo "${potential_test}" | grep "^${requested_path}" > /dev/null; then
|
||||||
{ test "${potential_test}" != "${requested_test}" &&
|
if test "$(dirname "${potential_test}")" = \
|
||||||
test -f "${potential_test}" && test -f "${requested_path}"; } ||
|
"$(dirname "${requested_path}")" &&
|
||||||
|
test "${potential_test}" != "${requested_path}"; then
|
||||||
return 0
|
return 0
|
||||||
echo "${requested_path}" XXX "${potential_test}"
|
fi
|
||||||
|
else
|
||||||
|
return 0
|
||||||
|
fi
|
||||||
|
|
||||||
validate_strings "${potential_test}" 'Test file names'
|
validate_strings "${potential_test}" 'Test file names'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user