Commit 0d53aaca authored by Marian Heil's avatar Marian Heil

Specify module though command line

parent 7149c3c8
#! /usr/bin/env bash
export HEPSW_HOME="/cvmfs/pheno.egi.eu/HEJ"
MODULE=HEPMC2
MODULE="${1^^}"
image_name(){
# created docker image name
......@@ -19,6 +19,11 @@ MODULE_IMAGE=$(image_name ${MODULE_NAME})
MODULE_DOCKER=Docker_${MODULE_NAME}
MODULE_PREFIX=${MODULE}_PREFIX
if [[ -z ${MODULE_DIR} ]]; then
>&2 echo "Error unrecognised module \"${MODULE}\""
exit 1
fi
echo "- Setting up \"${MODULE_DOCKER}\" for \"${MODULE_NAME}\""
mkdir -p build
......
Markdown is supported
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