]> Creatis software - clitk.git/commitdiff
add eval to take param into account
authorDavid Sarrut <david.sarrut@creatis.insa-lyon.fr>
Tue, 10 Nov 2015 14:25:01 +0000 (15:25 +0100)
committerDavid Sarrut <david.sarrut@creatis.insa-lyon.fr>
Tue, 10 Nov 2015 14:25:01 +0000 (15:25 +0100)
cluster_tools/gate_job_cluster.job

index e95f7c0e23551d01f7e90b32220d4fb3f651b955..9401268acb080c8e348d88d288feabf78ab30930 100644 (file)
@@ -74,7 +74,8 @@ echo "Lauching macro"
 date
 if test "$RELEASEDIR" = "NONE"
 then
-       Gate ${PARAM} ${MACROFILE} || error "gate failed"
+        echo Gate ${PARAM} ${MACROFILE}
+       eval Gate ${PARAM} ${MACROFILE} || error "gate failed"
 else
        LD_PRELOAD="${ROOTLIBS}${G4LIBS}${CLHEPLIBS}${GATELIBS}" \
        G4LEVELGAMMADATA="${RELEASEDIR}/PhotonEvaporation2.1" \