look for .urchin_root rather than .urchin

This commit is contained in:
Thomas Levine 2016-03-06 14:38:56 +00:00
parent de8bda1b32
commit 5cd182ff8f
10 changed files with 1 additions and 1 deletions

2
urchin
View File

@ -136,7 +136,7 @@ urchin_root() {
return 1 return 1
elif test -f "${current}"; then elif test -f "${current}"; then
urchin_root "$(dirname -- "${current}")" "${orig}" urchin_root "$(dirname -- "${current}")" "${orig}"
elif test -f "${current}"/.urchin; then elif test -f "${current}"/.urchin_root; then
remove_trailing_slash "${current}" remove_trailing_slash "${current}"
else else
urchin_root "${current}"/.. "${orig}" urchin_root "${current}"/.. "${orig}"