X-Git-Url: https://git.cworth.org/git?p=notmuch;a=blobdiff_plain;f=test%2Fexport-dirs.sh;h=0a048e1fe66940b914182c78400ad4dea8a8a94c;hp=844ee6825ca27bce0de049eb617a107276c520cc;hb=2707c06a0fc587a68096a3ec6f054ba4f0d7e7c7;hpb=645bea13cb204108fd520010afbba25d0d6a8693 diff --git a/test/export-dirs.sh b/test/export-dirs.sh index 844ee682..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