From: Miloš Mulač Date: Thu, 19 Oct 2006 14:35:24 +0000 (+0000) Subject: print correct JOBID indentier (useful for postprocessing scripts) X-Git-Tag: mergeto_glite-lb-client_branch_2_3_0_0243_generic_23Nov06~2 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=b2f964a007f2eee5baed922905221d387a30726d;p=jra1mw.git print correct JOBID indentier (useful for postprocessing scripts) --- diff --git a/org.glite.lb.client/examples/job_reg.c b/org.glite.lb.client/examples/job_reg.c index 96bee79..2d86ec7 100644 --- a/org.glite.lb.client/examples/job_reg.c +++ b/org.glite.lb.client/examples/job_reg.c @@ -111,7 +111,7 @@ int main(int argc, char *argv[]) } seq = edg_wll_GetSequenceCode(ctx); - printf("\n%s=\"%s\"\n",num_subjobs?"EDG_WL_DAG_JOBID":"EDG_JOBID",job); + printf("\n%s=\"%s\"\n",num_subjobs?(collection?"EDG_WL_COLLECTION_JOBID":"EDG_WL_DAG_JOBID"):"EDG_JOBID",job); printf("EDG_WL_SEQUENCE=\"%s\"\n",seq); free(seq); free(job);