summaryrefslogtreecommitdiff
path: root/devtools
diff options
context:
space:
mode:
authorBruce Richardson <bruce.richardson@intel.com>2019-02-25 15:40:01 +0000
committerThomas Monjalon <thomas@monjalon.net>2019-02-26 17:43:36 +0100
commit3655096fb1dee33ce1e1f63da7b8b3b0c3aa3c2d (patch)
tree60e1e5f34e5b170dff7d5cc1059c06d010c56488 /devtools
parent27a559cfe1c72852fc6ea9f33a151896baeae743 (diff)
downloaddpdk-next-eventdev-3655096fb1dee33ce1e1f63da7b8b3b0c3aa3c2d.zip
dpdk-next-eventdev-3655096fb1dee33ce1e1f63da7b8b3b0c3aa3c2d.tar.gz
dpdk-next-eventdev-3655096fb1dee33ce1e1f63da7b8b3b0c3aa3c2d.tar.xz
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 <bruce.richardson@intel.com>
Diffstat (limited to 'devtools')
-rwxr-xr-xdevtools/test-meson-builds.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/devtools/test-meson-builds.sh b/devtools/test-meson-builds.sh
index 3edc805..e59474d 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"