]> Creatis software - clitk.git/blobdiff - cluster_tools/gate_run_submit_cluster.sh
Add wipe file tests
[clitk.git] / cluster_tools / gate_run_submit_cluster.sh
index 8858c68780d89832a7720f56700205bb58c93207..91120500e4ae817ff51e0ef958125c0843a0ba87 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#! /usr/local/bin/bash -lx
 
 set -u
 SCRIPTNAME="$(basename "${0}")"
@@ -58,7 +58,7 @@ test -d ${OUTPUTDIR} || error "can't locate output dir"
 RUNID=${OUTPUTDIR##*.}
 NJOBS=${2:-"${DEFAULTNUMBEROFJOBS}"}
 NJOBSMAX=${NJOBS}
-PARAM="${4:-""}"
+PARAM="${4:-\"\"}"
 
 echo "Lets roll!!"
 echo "runid is ${RUNID}"