]> git.notmuchmail.org Git - notmuch/blobdiff - test/T395-ruby.sh
test: use $(dirname "$0") for sourcing test-lib.sh
[notmuch] / test / T395-ruby.sh
index 52f9fe0f8bfd7e8ee224f50b4b3785c6888a1c69..a0b76eb89ca1ba1da02c861a39f1e280105dbaf6 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env bash
 test_description="ruby bindings"
-. ./test-lib.sh || exit 1
+. $(dirname "$0")/test-lib.sh || exit 1
 
 if [ "${NOTMUCH_HAVE_RUBY_DEV}" = "0" ]; then
     test_subtest_missing_external_prereq_["ruby development files"]=t