From 3655096fb1dee33ce1e1f63da7b8b3b0c3aa3c2d Mon Sep 17 00:00:00 2001 From: Bruce Richardson Date: Mon, 25 Feb 2019 15:40:01 +0000 Subject: [PATCH] devtools: fix build test on FreeBSD readlink option "-m" is not supported on FreeBSD (checked on BSD 11), so change to the largely-equivalent "-f" flag. Fixes: a55277a788df ("devtools: add test script for meson builds") Cc: stable@dpdk.org Signed-off-by: Bruce Richardson --- devtools/test-meson-builds.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devtools/test-meson-builds.sh b/devtools/test-meson-builds.sh index 3edc805f65..e59474d53b 100755 --- a/devtools/test-meson-builds.sh +++ b/devtools/test-meson-builds.sh @@ -7,7 +7,7 @@ # * if a build-directory already exists we assume it was properly configured # Run ninja after configuration is done. -srcdir=$(dirname $(readlink -m $0))/.. +srcdir=$(dirname $(readlink -f $0))/.. MESON=${MESON:-meson} use_shared="--default-library=shared" -- 2.20.1