X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bin%2F1D_CreaPhase.sh;h=f9ef57905d311401e101f123617c2a402d07ccfe;hb=HEAD;hp=0e0e6c2ce757f26aa7b52a3bd8de7b3ba314024f;hpb=4fd73b272bdfeb5a83cf2fb41491ecd78c37e9c6;p=vip-workflow-creaphase.git 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