Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
More informative messages when using the new --setenv tesh argument
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 29 Nov 2010 20:30:53 +0000 (20:30 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 29 Nov 2010 20:30:53 +0000 (20:30 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8730 48e7efb5-ca39-0410-a469-dd3cf9ba447f

tools/tesh/tesh.c

index 0cf2c06..628f856 100644 (file)
@@ -230,8 +230,8 @@ int main(int argc, char *argv[])
       xbt_assert1(eq,"The argument of --setenv must contain a '=' (got %s instead)",argv[i+1]);
       char *key = bprintf("%.*s", (int) (eq - argv[i+1]), argv[i+1]);
       xbt_dict_set(env, key, xbt_strdup(eq + 1), xbt_free_f);
+      INFO2("setting environment variable '%s' to '%s'", key, eq+1);
       free(key);
-      VERB1("setenv %s", argv[i+1]);
       memmove(argv + i, argv + i + 2, (argc - i - 1) * sizeof(char *));
       argc -= 2;
       i -= 2;