On Tue, 5 Jan 2010 13:25:19 -0500 Jeff Layton <jlayton@xxxxxxxxxx> wrote: > On Tue, 05 Jan 2010 11:37:39 -0500 > Steve Dickson <SteveD@xxxxxxxxxx> wrote: > > > > +export PATH=$PATH:$srcdir/nsm_client > > How or Where is '$srcdir' set?? > > > > In the Makefile. Automake sets that along with other variables like > $top_srcdir. make then stuffs those variables into the environment when > it forks. > Sorry, I need to correct myself here. Not everything is exported ($top_srcdir isn't in particular). $srcdir is explicitly exported though. From the automake generated Makefile: check-TESTS: $(TESTS) @failed=0; all=0; xfail=0; xpass=0; skip=0; \ srcdir=$(srcdir); export srcdir; \ Still, I'll plan to make the scripts set srcdir if it isn't set (and maybe also check its validity). That should allow us to run these scripts standalone too. -- Jeff Layton <jlayton@xxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html