Skip to content
Snippets Groups Projects
Commit c0acdc15 authored by Jan David Mol's avatar Jan David Mol
Browse files

Merge branch 'L2SS-124-Fix_lofar20rc.sh' into 'master'

L2SS-124  Fix the bug in lofar20rc.sh

Closes L2SS-124

See merge request !37
parents 725115bf 332e4d01
No related branches found
No related tags found
1 merge request!37L2SS-124 Fix the bug in lofar20rc.sh
#! /usr/bin/env bash -e
# Set up the LOFAR2.0 environment. # Set up the LOFAR2.0 environment.
# For the time being it is assumend that the LOFAR2.0 environment has to # For the time being it is assumend that the LOFAR2.0 environment has to
# co-exist with a LOFAR1 environment. # co-exist with a LOFAR1 environment.
...@@ -6,9 +7,10 @@ ...@@ -6,9 +7,10 @@
# And export those directories for LOFAR in Tango Docker images. # And export those directories for LOFAR in Tango Docker images.
# Pass a directory as first parameter to this script. This will # Pass a directory as first parameter to this script. This will
# then be used as LOFAR20_DIR. Otherwise the current directory will # then be used as LOFAR20_DIR. Otherwise this file's directory
# be used. # be used to determine the tango directory location.
export LOFAR20_DIR=${1:-${PWD}} ABSOLUTE_PATH=$(realpath $(dirname ${BASH_SOURCE}))
export LOFAR20_DIR=${1:-$(realpath ${ABSOLUTE_PATH}/../..)}
# This needs to be modified for a development environment. # This needs to be modified for a development environment.
# Example: ~/lofar2.0/tango # Example: ~/lofar2.0/tango
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment