From b2f964a007f2eee5baed922905221d387a30726d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Milo=C5=A1=20Mula=C4=8D?= Date: Thu, 19 Oct 2006 14:35:24 +0000 Subject: [PATCH] print correct JOBID indentier (useful for postprocessing scripts) --- org.glite.lb.client/examples/job_reg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 1.8.2.3