]> git.notmuchmail.org Git - notmuch/blobdiff - test/T400-hooks.sh
test: use $(dirname "$0") for sourcing test-lib.sh
[notmuch] / test / T400-hooks.sh
index 7917a82f0154ef1d8355e62d7ae30ebb796e3fa8..49c690eb0360ab8c1b6e7f00059ea1c0da79b273 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env bash
 test_description='hooks'
-. ./test-lib.sh || exit 1
+. $(dirname "$0")/test-lib.sh || exit 1
 
 HOOK_DIR=${MAIL_DIR}/.notmuch/hooks