Tom,

What type of modifications do you have to do in those files when you are updating your version?

Eric

On 2012-01-12 12:39, Tom Hanstra wrote:
Koha Developers,

I'm a bit of a lurker on the list and don't do much in the line of development.  So, I'm not sure how best to officially get some fixes requested.

But each time I install or upgrade a new version of Koha, I consistently have to edit a number of files in the koha software because I run a different version of perl than the default /usr/bin/perl.  I just upgraded one of my instances to 3.6.2 and ran into this again with this set of files, which I then have to manually edit:

1029$ find . -type f -exec grep "/usr/bin/perl" {} \; -ls
#!/usr/bin/perl
28955751    4 -rwxr-xr-x   1 root     root         3313 Dec 22 17:55 ./misc/translator/translate
#!/usr/bin/perl
28340370   16 -rw-r--r--   1 root     root         8457 Dec 22 17:55 ./lib/C4/ShelfBrowser.pm
#!/usr/bin/perl
28341122    4 -rwxr-xr-x   1 root     root         3153 Dec 22 17:55 ./bin/maintenance/borrowers-force-messaging-defaults
#!/usr/bin/perl
28341185   16 -rwxr-xr-x   1 root     root         8703 Dec 22 17:55 ./bin/admin/koha-preferences
#!/usr/bin/perl
28337824   12 -rwxr-xr-x   1 root     root         7848 Dec 22 17:55 ./opac/cgi-bin/opac/unapi
#!/usr/bin/perl
5923679    4 -rwxr-xr-x   1 root     root         2775 Dec 22 17:55 ./intranet/cgi-bin/svc/new_bib
#!/usr/bin/perl
5923680    4 -rwxr-xr-x   1 root     root         3255 Dec 22 17:55 ./intranet/cgi-bin/svc/bib
#!/usr/bin/perl
5923681   12 -rwxr-xr-x   1 root     root         4659 Dec 22 17:55 ./intranet/cgi-bin/svc/bib_profile
#!/usr/bin/perl
5923685    4 -rwxr-xr-x   1 root     root         2709 Dec 22 17:55 ./intranet/cgi-bin/svc/config/systempreferences
#!/usr/bin/perl
5923684    4 -rwxr-xr-x   1 root     root         1948 Dec 22 17:55 ./intranet/cgi-bin/svc/authentication
#!/usr/bin/perl
5923910   16 -rwxr-xr-x   1 root     root         9502 Dec 22 17:55 ./intranet/cgi-bin/acqui/pdfformat/layout2pages.pm
#!/usr/bin/perl
5923914   24 -rwxr-xr-x   1 root     root        16999 Dec 22 17:55 ./intranet/cgi-bin/acqui/pdfformat/layout3pages.pm
#!/usr/bin/perl
28948350    4 -rwxr-xr-x   1 root     root         3407 Dec 22 17:55 ./intranet/cgi-bin/reports/itemtypes.plugin
#!/usr/bin/perl
28948413   12 -rwxr-xr-x   1 root     root         7939 Dec 22 17:55 ./intranet/cgi-bin/reports/issues_by_borrower_category.plugin

Is there a (preferably low overhead) way to report these other than the way I'm doing by hitting the list?

Thanks,
Tom