From 2ae274a4b2d3072a1201d2cc32e128eaba6050b9 Mon Sep 17 00:00:00 2001
From: Willi Mutschler <willi@mutschler.eu>
Date: Mon, 16 Oct 2023 18:21:28 +0200
Subject: [PATCH] macOS installer: cosmetical changes

backported bb3aa0a206d3ef023206f7cf38334c6a05059160
---
 macOS/build.sh                  | 1 +
 macOS/conclusion_template.html  | 4 ++--
 macOS/distribution_template.xml | 2 +-
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/macOS/build.sh b/macOS/build.sh
index 5827901487..8f41e40a88 100755
--- a/macOS/build.sh
+++ b/macOS/build.sh
@@ -18,6 +18,7 @@
 # along with Dynare.  If not, see <https://www.gnu.org/licenses/>.
 
 set -ex
+#exec > >(tee build-logfile.log) 2>&1 # uncomment for debugging
 
 ROOTDIR=$(pwd)/..
 ##
diff --git a/macOS/conclusion_template.html b/macOS/conclusion_template.html
index 5f88c45bef..4952a90636 100644
--- a/macOS/conclusion_template.html
+++ b/macOS/conclusion_template.html
@@ -2,7 +2,7 @@
   <head>
     <meta charset="UTF-8">
     <meta name="viewport" content="width=device-width, initial-scale=1">
-    <title>Postinstallation Recommendations</title>
+    <title>Recommendations</title>
     <style>
       .center-text {
         text-align: center;
@@ -22,7 +22,7 @@
   
   <body>
     <header class="center-text">
-      <h1>Postinstallation Recommendations</h1>      
+      <h1>Recommendations</h1>
     </header>
 
     <main>
diff --git a/macOS/distribution_template.xml b/macOS/distribution_template.xml
index e4eb022c73..ac084d8284 100644
--- a/macOS/distribution_template.xml
+++ b/macOS/distribution_template.xml
@@ -12,7 +12,7 @@
   <choices-outline>
     <line choice="default" />
   </choices-outline>
-  <choice id="default" title="Dynare" description="Dynare Required Files" start_enabled="false" enabled="false" customLocation="/Applications/Dynare/dynare-LOCATION">
+  <choice id="default" title="Dynare" description="Dynare Required Files" start_enabled="false" enabled="false" customLocation="/Applications/Dynare/LOCATION">
     <pkg-ref id="org.dynare.VERSION_NO_SPACE" />
   </choice>  
   <pkg-ref id="org.dynare.VERSION_NO_SPACE" version="VERSION_NO_SPACE">dynare-VERSION_NO_SPACE.pkg</pkg-ref>
-- 
GitLab