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

Provide full path when TDB file is in /opt/lofar2.0/*

parent edf7c41c
No related branches found
No related tags found
No related merge requests found
...@@ -26,6 +26,11 @@ if [ ${1:0:10} != /hosthome/ -a ${1:0:20} != /opt/lofar2.0/tango/ -a ${1:0:14} ! ...@@ -26,6 +26,11 @@ if [ ${1:0:10} != /hosthome/ -a ${1:0:20} != /opt/lofar2.0/tango/ -a ${1:0:14} !
# The file can be accessed through /hosthome. Modify the parameter. # The file can be accessed through /hosthome. Modify the parameter.
file=/hosthome${home_replaced}/$(basename ${file}) file=/hosthome${home_replaced}/$(basename ${file})
else
# The file is in one of the two: /opt/lofar2.0/tango/ /opt/lofar2.0/
# Provide the full path since it is accessible from within the docker
# image because both directories are mounted.
file=${full_path}/$(basename ${file})
fi fi
fi 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