From 5f7c58843de49aea822e47c4efe06d6bba6bf225 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Dalleau?= <frederic.dalleau@collabora.com> Date: Mon, 2 Jul 2018 12:02:31 +0200 Subject: [PATCH] Fix unitialized variable in test path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Frédéric Dalleau <frederic.dalleau@collabora.com> --- update-test-path | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/update-test-path b/update-test-path index 5141b3d..c4a8e93 100644 --- a/update-test-path +++ b/update-test-path @@ -1,5 +1,10 @@ -PATH=${TESTPATH}/common:${TESTPATH}/bin:$PATH +# Current test directory extracted from pwd TESTPATH=$(pwd) + +# Path for architecture independant binaries +PATH=${TESTPATH}/common:${TESTPATH}/bin:$PATH + +# Path for architecture specific binaries case `uname -m` in x86_64) PATH=${TESTPATH}/amd64/bin:$PATH; ;; armv7l) PATH=${TESTPATH}/armhf/bin:$PATH; ;; -- GitLab