escaped quotes in init.sh
I see some quotes that are escaped and others that are not:
export PATH="$lofar_prefix/lsmtool/bin:$PATH"
export LD_RUN_PATH=\"$lofar_prefix/lsmtool/lib:$LD_RUN_PATH\"
export LIBRARY_PATH=\"$lofar_prefix/lsmtool/lib:$LIBRARY_PATH\"
export PYTHONPATH="$lofar_prefix/lsmtool/lib/python3.6/site-packages:$PYTHONPATH"