From 933aa466c40966afb42c259188b0032a626cfb0d Mon Sep 17 00:00:00 2001 From: Thomas Levine <_@thomaslevine.com> Date: Sun, 6 Mar 2016 10:04:16 +0000 Subject: [PATCH] Automatic commit with j --- urchin | 3 +++ 1 file changed, 3 insertions(+) diff --git a/urchin b/urchin index bfa3f60..23d1409 100755 --- a/urchin +++ b/urchin @@ -136,7 +136,10 @@ recurse() { echo "${requested_path}" | grep "^${potential_test}" > /dev/null || echo "${potential_test}" | grep "^${requested_path}" > /dev/null || + { test "${potential_test}" != "${requested_test}" && + test -f "${potential_test}" && test -f "${requested_path}"; } || return 0 + echo "${requested_path}" XXX "${potential_test}" validate_strings "${potential_test}" 'Test file names'