Skip to content
Snippets Groups Projects
Commit 97d4a151 authored by Thomas Juerges's avatar Thomas Juerges
Browse files

Correct explanation of required path weirdness

parent 9f3a85af
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment