On Fri, 17 Feb 2006, Dan Langille wrote:

On 17 Feb 2006 at 10:39, Lee, Raymond wrote:

Another small bug in this script...line 29 should be split into 2 lines:

        PGPASSWORD=$3
        export PGPASSWORD

why do you think it needs to be split?

Bourne Shell (the original version) can't do "export BLAH="something"

That's an extension in the Bourne Again Shell

To be safe, one should create the variable and then export it separately.

/bin/sh in a lot of systems is simply a symlink to /bin/bash, but not in all... :)

AB



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to