Skip to contentSkip to conversation

devtools/test-meson-builds.sh: add support for FreeBSD

PATCH Applied Bruce Richardson 2 participants 2 messages Feb 25, 2019 – Feb 26, 2019 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 devtools/test-meson-builds.sh: add support for FreeBSD

readlink option "-m" is not supported on FreeBSD (checked on BSD 11), so change to the largely-equivalent "-f" flag.

---
 devtools/test-meson-builds.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
devtools/test-meson-builds.sh +1 -1
index 3edc805f6..e59474d53 100755
@@ -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"
 
Signature · 1 line
2.20.1