X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=test%2Fexport-dirs.sh;h=0a048e1fe66940b914182c78400ad4dea8a8a94c;hb=e663231681b129befadd9f66cb064c104149fb16;hp=0578b1e50194d308d42f782556c951630a702bf1;hpb=7ac96b149f5a0e5c03b64856d7c20789dab3c628;p=notmuch diff --git a/test/export-dirs.sh b/test/export-dirs.sh index 0578b1e5..0a048e1f 100644 --- a/test/export-dirs.sh +++ b/test/export-dirs.sh @@ -9,8 +9,7 @@ if [[ -z "${NOTMUCH_SRCDIR}" ]]; then export NOTMUCH_SRCDIR="$(cd "$(dirname "$0")"/.. && pwd)" fi -find_builddir() -{ +find_builddir () { local dir="$1" while [[ -n "$dir" ]] && [[ "$dir" != "/" ]]; do