From 97d4a1516cb6b77cc1e8cbb721ec17cf06a130a3 Mon Sep 17 00:00:00 2001
From: Thomas Juerges <4-jurges@users.noreply.git.astron.nl>
Date: Thu, 24 Sep 2020 20:07:34 +0200
Subject: [PATCH] Correct explanation of required path weirdness

---
 tools/ConfigDb/load_ConfigDb.sh   | 2 +-
 tools/ConfigDb/update_ConfigDb.sh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/ConfigDb/load_ConfigDb.sh b/tools/ConfigDb/load_ConfigDb.sh
index 1326db28f..353d4b014 100755
--- a/tools/ConfigDb/load_ConfigDb.sh
+++ b/tools/ConfigDb/load_ConfigDb.sh
@@ -3,7 +3,7 @@ if [ ${#} -ne 1 ]; then
     exit -1
 # Check if the filename begins with /hosthome/, /opt/tango or /opt/lofar:
 elif [ ${1:0:10} != /hosthome/ -a ${1:0:11} != /opt/tango/ -a ${1:0:11} != /opt/lofar/ ]; then
-    echo "You must provide a full file path that begins with one of \"/hosthome/\", \"/opt/tango/\" or \"/opt/lofar/\".  Why is that?  Because the file has to be loaded from the Docker host's file system that is mounted in the container."
+    echo "You must provide a full file path that begins with one of \"/hosthome/\", \"/opt/tango/\" or \"/opt/lofar/\".  Why is that?  Because the file will be loaded from within the Docker container and only some of the host's file system directories are mounted in the container."
     exit -2
 fi
 
diff --git a/tools/ConfigDb/update_ConfigDb.sh b/tools/ConfigDb/update_ConfigDb.sh
index 3c33785ab..277e92f56 100755
--- a/tools/ConfigDb/update_ConfigDb.sh
+++ b/tools/ConfigDb/update_ConfigDb.sh
@@ -3,7 +3,7 @@ if [ ${#} -ne 1 ]; then
     exit -1
 # Check if the filename begins with /hosthome/, /opt/tango or /opt/lofar:
 elif [ ${1:0:10} != /hosthome/ -a ${1:0:11} != /opt/tango/ -a ${1:0:11} != /opt/lofar/ ]; then
-    echo "You must provide a full file path that begins with one of \"/hosthome/\", \"/opt/tango/\" or \"/opt/lofar/\".  Why is that?  Because the file has to be stored to the Docker host's file system that is mounted in the container."
+    echo "You must provide a full file path that begins with one of \"/hosthome/\", \"/opt/tango/\" or \"/opt/lofar/\".  Why is that?  Because the file will be loaded from within the Docker container and only some of the host's file system directories are mounted in the container."
     exit -2
 fi
 
-- 
GitLab