Re: [Bacula-users] pwd of RunBeforeScript

2007-08-17 Thread Martin Simmons
> On Fri, 17 Aug 2007 13:51:34 -0400, Dan Langille said: > > Has anyone encountered this situation? The pwd of the > RunBeforeScript is the directory into which the source code was > unpacked. > > To reproduce, use this RunBeforeScript: > > #!/bin/sin > echo $PWD > > The output is: > >

[Bacula-users] pwd of RunBeforeScript

2007-08-17 Thread Dan Langille
Has anyone encountered this situation? The pwd of the RunBeforeScript is the directory into which the source code was unpacked. To reproduce, use this RunBeforeScript: #!/bin/sin echo $PWD The output is: 17-Aug 13:28 ducky-dir: BeforeJob: run command "/home/dan/bin/test_pwd" 17-Aug 13:28 du