Skip to content

Commit 2ae270c

Browse files
committed
Fix CI-build on macos-latest
1 parent c8a8d4a commit 2ae270c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/test_syntax.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
# Therefore we need to use find + temp files for the file lists.
77

88
scriptDir=`dirname $0`
9-
DUNE_BIN_DIR=`realpath $scriptDir/../_build/install/default/bin`
9+
# macOS 12 does not have the realpath utility,
10+
# so let's use this workaround instead.
11+
DUNE_BIN_DIR=`cd "$scriptDir/../_build/install/default/bin"; pwd -P`
1012

1113
$DUNE_BIN_DIR/syntax_tests
1214

0 commit comments

Comments
 (0)