From b758c154ce6e3a31155308a68e829bedbdbccf66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org> Date: Thu, 28 May 2020 16:24:19 +0200 Subject: [PATCH] macOS package: fix warning about supported Octave version In 0c77f7e92feef494d5b9008449a8b0e7bcac3387, the supported Octave version has been changed from the Homebrew binary to the standalone application. However, the runtime check about the supported Octave version was not updated, and was still pointing to the Homebrew version number. --- macOS/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macOS/build.sh b/macOS/build.sh index c6af350ab1..a39091bfb0 100755 --- a/macOS/build.sh +++ b/macOS/build.sh @@ -166,7 +166,7 @@ PATH="$OCTAVE_BIN_DIR:$PATH" CC=$CC CXX=$CXX ./configure \ --with-slicot="$LIB64"/Slicot/with-underscore PATH="$OCTAVE_BIN_DIR:$PATH" make -j"$NTHREADS" cp -L "$ROOTDIR"/mex/octave/* "$PKGFILES"/mex/octave -echo -e "function v = supported_octave_version\nv=\"$(octave --eval "disp(OCTAVE_VERSION)")\";\nend" > "$PKGFILES"/matlab/supported_octave_version.m +echo -e "function v = supported_octave_version\nv=\"$OCTAVE_VERSION\";\nend" > "$PKGFILES"/matlab/supported_octave_version.m ## -- GitLab