Skip to content
Snippets Groups Projects
Commit c9f3bb08 authored by Ulrich Schwickerath's avatar Ulrich Schwickerath
Browse files

unify using test

parent 7e6fdccd
No related merge requests found
Pipeline #11123837 passed
......@@ -8,7 +8,7 @@ dellevel () {
eval `dellevel.pl $@`
}
if test "x${DELPHI_INSTALL_DIR}" = "x" ; then
if [ "x${DELPHI_INSTALL_DIR}" = "x" ]; then
export DELPHI_INSTALL_DIR="/cvmfs/delphi.cern.ch"
else
export DELPHI_INSTALL_DIR
......@@ -31,7 +31,7 @@ fi
#
# check for Xrd
if [ "x$CERNLIB_XROOTD" == "xON" ]; then
if [ "x$CERNLIB_XROOTD" = "xON" ]; then
export DELPHI_XRD="_xrd"
else
export DELPHI_XRD=""
......@@ -43,7 +43,7 @@ else
export GROUP_DIR=${DELPHI_INSTALL_DIR}/releases/${OS_TAG}
fi
if test "x${CERN}" = "x" ; then
if [ "x${CERN}" = "x" ]; then
export CERN=${GROUP_DIR}/cern
else
export CERN
......@@ -129,7 +129,7 @@ export DELPHI_PATH=${DELPHI_BIN}
# ddb location
export DELPHI_DDB=/eos/opendata/delphi/condition-data
if test -e /eos/experiment/delphi/castor2015/ddb ; then
if [ -e /eos/experiment/delphi/castor2015/ddb ]; then
export DELPHI_DDB=/eos/experiment/delphi/castor2015/ddb
fi
......@@ -151,19 +151,19 @@ export DELPHI_ZIP=on
# DELGRA event display
export OPENPHIGS=${GROUP_DIR}/openphigs
if test "x${OPGS_RUN_TIME}" = "x" ; then
if [ "x${OPGS_RUN_TIME}" = "x" ]; then
export OPGS_RUN_TIME=${GROUP_DIR}/delgra/run_time
fi
export GRA_PLACE=${GROUP_DIR}/delgra
# runtime environment
if test -e ${DELPHI_INSTALL_DIR}/pdl ; then
if [ -e ${DELPHI_INSTALL_DIR}/pdl ]; then
export DELPHI_BATCAVE=${DELPHI_INSTALL_DIR}/pdl
fi
# data location
export DELPHI_DATA_ROOT="/eos/opendata/delphi"
if test -e /eos/experiment/delphi/castor2015 ; then
if [ -e /eos/experiment/delphi/castor2015 ]; then
export DELPHI_DATA_ROOT="/eos/experiment/delphi/castor2015"
fi
......@@ -179,7 +179,7 @@ fi
# libshift compatibility
if test -d ${GROUP_DIR}/castor ; then
if [ -d ${GROUP_DIR}/castor ]; then
export LD_LIBRARY_PATH=${GROUP_DIR}/castor:${LD_LIBRARY_PATH}
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