From: Bruce Richardson Date: Mon, 25 Feb 2019 15:40:01 +0000 (+0000) Subject: devtools: fix build test on FreeBSD X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=3655096fb1dee33ce1e1f63da7b8b3b0c3aa3c2d;p=dpdk.git 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 --- 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"