Bacula-users

Re: [Bacula-users] Perl 5.20 upgrade breaks make_catalog_backup.pl?

2015-06-05 13:22:48
Subject: Re: [Bacula-users] Perl 5.20 upgrade breaks make_catalog_backup.pl?
From: Dimitri Maziuk <dmaziuk AT bmrb.wisc DOT edu>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 05 Jun 2015 12:20:46 -0500
On 06/05/2015 11:17 AM, Doug Sampson wrote:
>>
>> I have been running 5.20 for some time, it did break the script, but the
>> fix was rather simple, probably should have posted something to a
>> mailing list so that it was fixed by now.
>>
>> in /usr/local/share/bacula/make_catalog_backup.pl I just changed the
>> first line from:
>> #!/usr/bin/env perl
>>
>> to:
>> #!/usr/bin/env /usr/local/bin/perl
> 
> Ah, that did it! Thanks! Wish I knew about this sooner! :)

The reason you didn't is it defeats the purpose of using env in shebang
line so nobody who actually understands what they're doing would ever
think of it.

-- 
Dimitri Maziuk
Programmer/sysadmin
BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users