Commit 6c1c7c55 authored by Holger Brandl's avatar Holger Brandl

escape cmd for logging

parent d4abb916
......@@ -259,10 +259,10 @@ mysub(){
## also log job command and queuing arguments for reference
if [ -f ".logs/${jobName}.cmd" ]; then
echo "could not run '$jobName' becayse log entry already exists" 1>&2; return;
echo "could not run '$jobName' because log entry already exists" 1>&2; return;
fi
echo ${jobCmd} > .logs/${jobName}.cmd
echo "${jobCmd}" > .logs/${jobName}.cmd
echo $@ > .logs/${jobName}.lsfargs
# echo "" > .logs/${jobName}.jobid
......
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