From: Lucas Mateus Castro (alqotel) Date: Thu, 29 Sep 2022 11:41:44 +0000 (+0100) Subject: tests/docker: run script use realpath instead of readlink X-Git-Tag: qemu-xen-4.18.0-rc5~504^2~48 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=f0c67a79ef7acce9305092f685da5d15c03502b4;p=qemu-xen.git tests/docker: run script use realpath instead of readlink The alpine docker image only comes with busybox, which doesn't have the '-e' option on its readlink, so change it to 'realpath' to avoid that problem. Suggested-by: Daniel P. Berrangé Signed-off-by: Lucas Mateus Castro (alqotel) Message-Id: <20220922135516.33627-5-lucas.araujo@eldorado.org.br> Signed-off-by: Alex Bennée Message-Id: <20220929114231.583801-5-alex.bennee@linaro.org> --- diff --git a/tests/docker/run b/tests/docker/run index 421393046b..9eb96129da 100755 --- a/tests/docker/run +++ b/tests/docker/run @@ -15,7 +15,7 @@ if test -n "$V"; then set -x fi -BASE="$(dirname $(readlink -e $0))" +BASE="$(dirname $(realpath $0))" # Prepare the environment export PATH=/usr/lib/ccache:/usr/lib64/ccache:$PATH