Bug#869994: proposed fix

2018-01-09 Thread Stephen Schmiechen
Yeah I tend to run several customised instances in lots of locations so FindBin is less fragile for me and works most like the 'dot' did. So hopefully it saves someone some time. Cheers --turtle On Mon, Jan 8, 2018 at 12:24 PM, Robert J. Clay wrote: > > Greetings all using

Bug#869994: proposed fix

2018-01-06 Thread Stephen Schmiechen
Greetings all using FindBin and adding the current directory everywhere sql-ledger calls perl should fix the issue in all versions. An example perl script would be: perl -0777 -i.original -pe 's/(#!\/usr\/bin\/perl)/$1\n#perl 5.25 Fix:\nuse FindBin qw\(\$Bin\);\nuse lib \"\$Bin\"\;/igs' *.pl