Commit 0d3187dc authored by Nathalie Rousse's avatar Nathalie Rousse
Browse files

cmd_erecord.sh and cmd_rep.sh minor modifications : adding folders creation

if not exist.
parent 179a4848
......@@ -5,6 +5,10 @@
SINGULARITY_HOME=/opt/erecord/tools/make_containers
GEN_SOURCE_PATH=$SINGULARITY_HOME/gen_source
INCLUDE_ERECORD_PATH=$GEN_SOURCE_PATH/include/erecord
if ! [ -d $GEN_SOURCE_PATH/tmp ]
then
mkdir $GEN_SOURCE_PATH/tmp
fi
TMP_GENERATED_DEF=$GEN_SOURCE_PATH/tmp/generated.def
TMP_TMP_DEF=$GEN_SOURCE_PATH/tmp/tmp.def
DEF_HOME=$SINGULARITY_HOME/$VLEVERSION
......
......@@ -5,6 +5,10 @@
SINGULARITY_HOME=/opt/erecord/tools/make_containers
GEN_SOURCE_PATH=$SINGULARITY_HOME/gen_source
INCLUDE_REP_PATH=$GEN_SOURCE_PATH/include/rep
if ! [ -d $GEN_SOURCE_PATH/tmp ]
then
mkdir $GEN_SOURCE_PATH/tmp
fi
TMP_GENERATED_DEF=$GEN_SOURCE_PATH/tmp/generated.def
TMP_TMP_DEF=$GEN_SOURCE_PATH/tmp/tmp.def
......
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