From d285472210f640f7461845fc9a5a4e4fc2f674ae Mon Sep 17 00:00:00 2001 From: Jan Verbeek Date: Thu, 26 Aug 2021 21:18:13 +0200 Subject: [PATCH] GNU tests: make script runnable from any directory --- util/run-gnu-test.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/util/run-gnu-test.sh b/util/run-gnu-test.sh index 9d51a983e..483fc1be9 100755 --- a/util/run-gnu-test.sh +++ b/util/run-gnu-test.sh @@ -1,5 +1,6 @@ #!/bin/bash # spell-checker:ignore (env/vars) BUILDDIR GNULIB SUBDIRS +cd "$(dirname "${BASH_SOURCE[0]}")/../.." set -e BUILDDIR="${PWD}/uutils/target/release" GNULIB_DIR="${PWD}/gnulib"