From 5533a5ad53d20f618b96249d68c4b4d354ef32aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Mon, 25 Jan 2021 14:42:29 +0200 Subject: [PATCH] run-tests: Fix running with a relative path to the toolchain This fixes github issue #181. --- run-tests.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/run-tests.sh b/run-tests.sh index ba50d0d..0e42717 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -21,6 +21,7 @@ if [ $# -lt 1 ]; then exit 1 fi PREFIX="$1" +PREFIX="$(cd "$PREFIX" && pwd)" export PATH=$PREFIX/bin:$PATH : ${ARCHS:=${TOOLCHAIN_ARCHS-i686 x86_64 armv7 aarch64}}