Skip to content

Commit d598b04

Browse files
authored
Fix CI-build on macos-latest (#5939)
1 parent ca2b3d3 commit d598b04

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)