run-tests: Fix running with a relative path to the toolchain

This fixes github issue #181.
This commit is contained in:
Martin Storsjö committed 2021-01-25 14:45:34 +02:00
1 parent 4b063063f2
commit 5533a5ad53
1 file changed
+1
+1
View File
@@ -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}}