From ba7b032687221730435dc7eec7ba2d4caf36c6fa Mon Sep 17 00:00:00 2001
From: Mark Olesen <Mark.Olesen@esi-group.com>
Date: Mon, 10 Dec 2018 13:15:31 +0100
Subject: [PATCH] STYLE: adjust comments in config setup

---
 etc/config.csh/setup | 5 ++++-
 etc/config.sh/setup  | 4 +++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/etc/config.csh/setup b/etc/config.csh/setup
index 842efd0e6bc..a1152d8a74d 100644
--- a/etc/config.csh/setup
+++ b/etc/config.csh/setup
@@ -40,11 +40,14 @@ source "$WM_PROJECT_DIR/etc/config.csh/functions"
 #    It may also not be required at all, in which case a dummy "ThirdParty"
 #    directory inside of the OpenFOAM project directory.
 #
-# Note: only accept if the directory exists and contains a "Allwmake" file
+# Note: only accept if the directory exists and contains either
+#   a "Allwmake" file (source) or a "platforms" directory (runtime-only)
 
 setenv WM_THIRD_PARTY_DIR
 set foundDir=''
+
 _foamEcho "Locating ThirdParty directory"
+
 foreach foamDir (\
     "$WM_PROJECT_DIR/ThirdParty" \
     "$prefixDir/ThirdParty-$WM_PROJECT_VERSION" \
diff --git a/etc/config.sh/setup b/etc/config.sh/setup
index 423605ce920..40ab0012f72 100644
--- a/etc/config.sh/setup
+++ b/etc/config.sh/setup
@@ -41,7 +41,9 @@ unset WM_SHELL_FUNCTIONS
 #    It may also not be required at all, in which case a dummy "ThirdParty"
 #    directory inside of the OpenFOAM project directory.
 #
-# Note: only accept if the directory exists and contains a "Allwmake" file
+# Note: only accept if the directory exists and contains either
+#   a "Allwmake" file (source) or a "platforms" directory (runtime-only)
+
 export WM_THIRD_PARTY_DIR
 unset foundDir
 
-- 
GitLab