[mpich2-commits] r4088 - mpich2/trunk/src/pm/hydra/utils/args

balaji at mcs.anl.gov balaji at mcs.anl.gov
Mon Mar 16 12:11:01 CDT 2009


Author: balaji
Date: 2009-03-16 12:11:00 -0500 (Mon, 16 Mar 2009)
New Revision: 4088

Modified:
   mpich2/trunk/src/pm/hydra/utils/args/args.c
Log:
Don't enclose the environment in double quotes, the local shell will
try to interpret it. Single quotes just passes it along to the remote
side. This should fix the nightly test failures with Hydra.


Modified: mpich2/trunk/src/pm/hydra/utils/args/args.c
===================================================================
--- mpich2/trunk/src/pm/hydra/utils/args/args.c	2009-03-16 15:02:00 UTC (rev 4087)
+++ mpich2/trunk/src/pm/hydra/utils/args/args.c	2009-03-16 17:11:00 UTC (rev 4088)
@@ -20,11 +20,11 @@
     while (env) {
         j = 0;
 
-        tmp[j++] = MPIU_Strdup("\"");
+        tmp[j++] = MPIU_Strdup("'");
         tmp[j++] = MPIU_Strdup(env->env_name);
         tmp[j++] = MPIU_Strdup("=");
         tmp[j++] = env->env_value ? MPIU_Strdup(env->env_value) : MPIU_Strdup("");
-        tmp[j++] = MPIU_Strdup("\"");
+        tmp[j++] = MPIU_Strdup("'");
         tmp[j++] = NULL;
 
         status = HYDU_String_alloc_and_join(tmp, &envstr);



More information about the mpich2-commits mailing list