From 8d649d1737e8a528a9ee296622a8bf7e47fae31f Mon Sep 17 00:00:00 2001 From: Mark Olesen <Mark.Olesen@esi-group.com> Date: Tue, 21 May 2024 17:17:52 +0200 Subject: [PATCH] FIX: additional shell quoting for foamInstallationTest (fixes #3163) - the PATH on WSL will usually contain spaces, so it needs quoting --- bin/foamInstallationTest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/foamInstallationTest b/bin/foamInstallationTest index 3949b094374..8adaabd6b8d 100755 --- a/bin/foamInstallationTest +++ b/bin/foamInstallationTest @@ -210,7 +210,7 @@ reportExecutable() { APP_NAME="$1" APP_SPEC="$2" - APP_PATH="$(findExec $PATH $1)" + APP_PATH="$(findExec "$PATH" "$1")" VERSION="unknown" if [ -z "$APP_PATH" ] -- GitLab