From 2cabfaf490d9327fc3eeb727fe7a0fcd1b24a6f3 Mon Sep 17 00:00:00 2001 From: Ryan Rathsam Date: Tue, 1 Sep 2020 11:54:16 -0400 Subject: [PATCH] Update the directory that ui/runtests.sh runs from I ran into issues with running this script from `/tests`, this small change allows `runtests.sh` to be run from anywhere and still funciton correctly. --- tests/ui/runtests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ui/runtests.sh b/tests/ui/runtests.sh index 014f7bba04..5efbb16e7a 100755 --- a/tests/ui/runtests.sh +++ b/tests/ui/runtests.sh @@ -31,7 +31,7 @@ then export JUNIT_OUTDIR fi -pushd `dirname $0` +pushd ${BASEDIR} if [[ ! -d 'node_modules' ]]; then if [[ -f "${CACHEFILE}" ]]; then echo "using cache file"