From 2a8ee9b1a32b3e955e46358fc5fda4da2808c3d0 Mon Sep 17 00:00:00 2001 From: Sorina Pop Date: Mon, 19 Sep 2016 09:36:17 +0200 Subject: [PATCH] Fixed LFN issues --- bin/1D_CreaPhase.sh | 6 +++++- gasw/1D_CreaPhase.xml | 16 ++++++++-------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/bin/1D_CreaPhase.sh b/bin/1D_CreaPhase.sh index 0e0e6c2..f9ef579 100755 --- a/bin/1D_CreaPhase.sh +++ b/bin/1D_CreaPhase.sh @@ -73,7 +73,9 @@ fi # Arguments parsing # RES=$1 -COMM_LINE=`echo "${@:2:$(($#-2))}"` +COMM_LINE=`echo "${@:2:$(($#-4))}"` +MU=`echo "${@:$(($#-2)):1}"` +DELTA=`echo "${@:$(($#-1)):1}"` # Command-line construction # #echo "COMM line is $COMM_LINE" @@ -93,6 +95,8 @@ DIROUT="dirOut" cat << DOCKERJOB > .dockerjob.sh #!/bin/bash -l cd /CreaPhase +cp /gasw-dir/$MU ./ +cp /gasw-dir/$DELTA ./ ${BOUTIQUES_COMMAND_LINE} DOCKERJOB diff --git a/gasw/1D_CreaPhase.xml b/gasw/1D_CreaPhase.xml index 6a79eef..fea75f4 100644 --- a/gasw/1D_CreaPhase.xml +++ b/gasw/1D_CreaPhase.xml @@ -7,9 +7,9 @@ - + - + @@ -25,12 +25,6 @@ - - - - - - @@ -41,6 +35,12 @@ + + + + + +