GNU tests: make script runnable from any directory

This commit is contained in:
Jan Verbeek 2021-08-26 21:18:13 +02:00 committed by Michael Debertol
parent 58ce3d1e82
commit d285472210

View file

@ -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"