Commit b130af1d authored by Jens Kroeger's avatar Jens Kroeger
Browse files

etc/setup_lxplus.sh: add if/else to check if bin/corry exists. If not print a...

etc/setup_lxplus.sh: add if/else to check if bin/corry exists. If not print a message that corry needs to be compiled
parent 77d9be33
...@@ -9,6 +9,14 @@ ABSOLUTE_PATH=`dirname $(readlink -f ${BASH_SOURCE[0]})` ...@@ -9,6 +9,14 @@ ABSOLUTE_PATH=`dirname $(readlink -f ${BASH_SOURCE[0]})`
# Load default configuration # Load default configuration
source $ABSOLUTE_PATH/../.gitlab-ci.d/init_x86_64.sh source $ABSOLUTE_PATH/../.gitlab-ci.d/init_x86_64.sh
# Add <path-to-corryvreckan> to PATH # Check if corry executable exists
CORRY_PATH=$( cd "$ABSOLUTE_PATH/../bin" ; pwd -P ) if [ -f "$ABSOLUTE_PATH/../bin/corry" ]; then
export PATH=$CORRY_PATH:$PATH # Add <path-to-corryvreckan> to PATH
CORRY_PATH=$( cd "$ABSOLUTE_PATH/../bin" ; pwd -P )
export PATH=$CORRY_PATH:$PATH
else
echo "Could not find corry exectuable. Please complete the installation by executing:"
echo "$ mkdir build && cd build"
echo "$ cmake .."
echo "$ make install -j <number_of_cores>"
fi
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment