Previously, this was set up to be done on the first call to this function,
but at that time, argv[] hasn't been process, so job->common.verbose had
not yet been set, and nothing is printed.
{
static char line[BSZ];
static char *libdir;
+ static boolean dirShown = 0;
char *path, *tmp;
FILE *f;
}
#endif
}
- if (gvc->common.verbose > 1)
- fprintf (stderr, "libdir = \"%s\"\n",
- (libdir ? libdir : "<null>"));
+ }
+ if (gvc->common.verbose && !dirShown) {
+ fprintf (stderr, "libdir = \"%s\"\n", (libdir ? libdir : "<null>"));
+ dirShown = 1;
}
return libdir;
}