Bugzilla – Attachment 37276 Details for
Bug 5617
fix-perl-path.pl misses some files
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 5617: Use /usr/bin/env perl for **/*.pl scripts
Bug-5617-Use-usrbinenv-perl-for-pl-scripts.patch (text/plain), 223.11 KB, created by
Jonathan Druart
on 2015-03-26 14:49:08 UTC
(
hide
)
Description:
Bug 5617: Use /usr/bin/env perl for **/*.pl scripts
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-03-26 14:49:08 UTC
Size:
223.11 KB
patch
obsolete
>From 19af66f2924a9b9465f0ffe5e905b1fd9c825d9a Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Thu, 26 Mar 2015 15:32:20 +0100 >Subject: [PATCH] Bug 5617: Use /usr/bin/env perl for **/*.pl scripts > >--- > C4/SIP/interactive_item_dump.pl | 2 +- > C4/SIP/interactive_members_dump.pl | 2 +- > C4/SIP/interactive_patron_check_password.pl | 2 +- > C4/SIP/interactive_patron_dump.pl | 2 +- > C4/SIP/interactive_renew_all_dump.pl | 2 +- > C4/SIP/xmlparse.pl | 2 +- > about.pl | 2 +- > acqui/acqui-home.pl | 2 +- > acqui/add_user_search.pl | 2 +- > acqui/addorder.pl | 2 +- > acqui/addorderiso2709.pl | 2 +- > acqui/ajax-getauthvaluedropbox.pl | 2 +- > acqui/basket.pl | 2 +- > acqui/basketgroup.pl | 2 +- > acqui/basketheader.pl | 2 +- > acqui/booksellers.pl | 2 +- > acqui/cancelorder.pl | 2 +- > acqui/check_budget_total.pl | 2 +- > acqui/check_duplicate_barcode_ajax.pl | 2 +- > acqui/check_uniqueness.pl | 2 +- > acqui/currency.pl | 2 +- > acqui/finishreceive.pl | 2 +- > acqui/histsearch.pl | 2 +- > acqui/invoice-files.pl | 2 +- > acqui/invoice.pl | 2 +- > acqui/invoices.pl | 2 +- > acqui/lateorders-export.pl | 2 +- > acqui/lateorders.pl | 2 +- > acqui/modordernotes.pl | 2 +- > acqui/neworderbiblio.pl | 2 +- > acqui/neworderempty.pl | 2 +- > acqui/newordersubscription.pl | 2 +- > acqui/newordersuggestion.pl | 2 +- > acqui/ordered.pl | 2 +- > acqui/orderreceive.pl | 2 +- > acqui/parcel.pl | 2 +- > acqui/parcels.pl | 2 +- > acqui/spent.pl | 2 +- > acqui/supplier.pl | 2 +- > acqui/transferorder.pl | 2 +- > acqui/uncertainprice.pl | 2 +- > acqui/updatesupplier.pl | 2 +- > acqui/z3950_search.pl | 2 +- > admin/admin-home.pl | 2 +- > admin/aqbudget_user_search.pl | 2 +- > admin/aqbudgetperiods.pl | 2 +- > admin/aqbudgets.pl | 2 +- > admin/aqcontract.pl | 2 +- > admin/aqplan.pl | 2 +- > admin/auth_subfields_structure.pl | 2 +- > admin/auth_tag_structure.pl | 2 +- > admin/authorised_values.pl | 2 +- > admin/authtypes.pl | 2 +- > admin/biblio_framework.pl | 2 +- > admin/branch_transfer_limits.pl | 2 +- > admin/branches.pl | 2 +- > admin/categorie.pl | 2 +- > admin/check_budget_parent.pl | 2 +- > admin/check_parent_total.pl | 2 +- > admin/checkmarc.pl | 2 +- > admin/cities.pl | 2 +- > admin/classsources.pl | 2 +- > admin/clone-rules.pl | 2 +- > admin/columns_settings.pl | 2 +- > admin/currency.pl | 2 +- > admin/didyoumean.pl | 2 +- > admin/env_tz_test.pl | 2 +- > admin/fieldmapping.pl | 2 +- > admin/import_export_framework.pl | 2 +- > admin/item_circulation_alerts.pl | 2 +- > admin/items_search_field.pl | 2 +- > admin/items_search_fields.pl | 2 +- > admin/itemtypes.pl | 2 +- > admin/koha2marclinks.pl | 2 +- > admin/marc_subfields_structure.pl | 2 +- > admin/marctagstructure.pl | 2 +- > admin/matching-rules.pl | 2 +- > admin/oai_set_mappings.pl | 2 +- > admin/oai_sets.pl | 2 +- > admin/patron-attr-types.pl | 2 +- > admin/preferences.pl | 2 +- > admin/printers.pl | 2 +- > admin/smart-rules.pl | 2 +- > admin/sru_modmapping.pl | 2 +- > admin/stopwords.pl | 2 +- > admin/systempreferences.pl | 2 +- > admin/transport-cost-matrix.pl | 2 +- > admin/z3950servers.pl | 2 +- > authorities/auth_finder.pl | 2 +- > authorities/authorities-home.pl | 2 +- > authorities/authorities-list.pl | 2 +- > authorities/authorities.pl | 2 +- > authorities/blinddetail-biblio-search.pl | 2 +- > authorities/detail-biblio-search.pl | 2 +- > authorities/detail.pl | 2 +- > authorities/export.pl | 2 +- > authorities/merge.pl | 2 +- > authorities/merge_ajax.pl | 2 +- > authorities/ysearch.pl | 2 +- > basket/basket.pl | 2 +- > basket/downloadcart.pl | 2 +- > basket/sendbasket.pl | 2 +- > catalogue/ISBDdetail.pl | 2 +- > catalogue/MARCdetail.pl | 2 +- > catalogue/detail.pl | 2 +- > catalogue/export.pl | 2 +- > catalogue/getitem-ajax.pl | 2 +- > catalogue/image.pl | 2 +- > catalogue/imageviewer.pl | 2 +- > catalogue/issuehistory.pl | 2 +- > catalogue/itemsearch.pl | 2 +- > catalogue/labeledMARCdetail.pl | 2 +- > catalogue/moredetail.pl | 2 +- > catalogue/search-history.pl | 2 +- > catalogue/search.pl | 2 +- > catalogue/showmarc.pl | 2 +- > catalogue/updateitem.pl | 2 +- > cataloguing/addbiblio.pl | 2 +- > cataloguing/addbooks.pl | 2 +- > cataloguing/additem.pl | 2 +- > cataloguing/linkitem.pl | 2 +- > cataloguing/merge.pl | 2 +- > cataloguing/merge_ajax.pl | 2 +- > cataloguing/moveitem.pl | 2 +- > cataloguing/plugin_launcher.pl | 2 +- > cataloguing/value_builder/barcode.pl | 2 +- > cataloguing/value_builder/barcode_manual.pl | 2 +- > cataloguing/value_builder/callnumber-KU.pl | 2 +- > cataloguing/value_builder/callnumber.pl | 2 +- > cataloguing/value_builder/dateaccessioned.pl | 2 +- > cataloguing/value_builder/macles.pl | 2 +- > cataloguing/value_builder/marc21_field_003.pl | 2 +- > cataloguing/value_builder/marc21_field_005.pl | 2 +- > cataloguing/value_builder/marc21_field_006.pl | 2 +- > cataloguing/value_builder/marc21_field_007.pl | 2 +- > cataloguing/value_builder/marc21_field_008.pl | 2 +- > cataloguing/value_builder/marc21_field_008_authorities.pl | 2 +- > cataloguing/value_builder/marc21_field_040c.pl | 2 +- > cataloguing/value_builder/marc21_field_040d.pl | 2 +- > cataloguing/value_builder/marc21_field_245h.pl | 2 +- > cataloguing/value_builder/marc21_leader.pl | 2 +- > cataloguing/value_builder/marc21_leader_authorities.pl | 2 +- > cataloguing/value_builder/marc21_leader_book.pl | 2 +- > cataloguing/value_builder/marc21_leader_computerfile.pl | 2 +- > cataloguing/value_builder/marc21_leader_video.pl | 2 +- > cataloguing/value_builder/marc21_linking_section.pl | 2 +- > cataloguing/value_builder/normarc_field_007.pl | 2 +- > cataloguing/value_builder/normarc_field_008.pl | 2 +- > cataloguing/value_builder/normarc_leader.pl | 2 +- > cataloguing/value_builder/stocknumber.pl | 2 +- > cataloguing/value_builder/stocknumberAV.pl | 2 +- > cataloguing/value_builder/stocknumberam123.pl | 2 +- > cataloguing/value_builder/unimarc_field_010.pl | 2 +- > cataloguing/value_builder/unimarc_field_100.pl | 2 +- > cataloguing/value_builder/unimarc_field_100_authorities.pl | 2 +- > cataloguing/value_builder/unimarc_field_105.pl | 2 +- > cataloguing/value_builder/unimarc_field_106.pl | 2 +- > cataloguing/value_builder/unimarc_field_110.pl | 2 +- > cataloguing/value_builder/unimarc_field_115a.pl | 2 +- > cataloguing/value_builder/unimarc_field_115b.pl | 2 +- > cataloguing/value_builder/unimarc_field_116.pl | 2 +- > cataloguing/value_builder/unimarc_field_117.pl | 2 +- > cataloguing/value_builder/unimarc_field_120.pl | 2 +- > cataloguing/value_builder/unimarc_field_121a.pl | 2 +- > cataloguing/value_builder/unimarc_field_121b.pl | 2 +- > cataloguing/value_builder/unimarc_field_122.pl | 2 +- > cataloguing/value_builder/unimarc_field_123a.pl | 2 +- > cataloguing/value_builder/unimarc_field_123d.pl | 2 +- > cataloguing/value_builder/unimarc_field_123e.pl | 2 +- > cataloguing/value_builder/unimarc_field_123f.pl | 2 +- > cataloguing/value_builder/unimarc_field_123g.pl | 2 +- > cataloguing/value_builder/unimarc_field_123i.pl | 2 +- > cataloguing/value_builder/unimarc_field_123j.pl | 2 +- > cataloguing/value_builder/unimarc_field_124.pl | 2 +- > cataloguing/value_builder/unimarc_field_124a.pl | 2 +- > cataloguing/value_builder/unimarc_field_124b.pl | 2 +- > cataloguing/value_builder/unimarc_field_124c.pl | 2 +- > cataloguing/value_builder/unimarc_field_124d.pl | 2 +- > cataloguing/value_builder/unimarc_field_124e.pl | 2 +- > cataloguing/value_builder/unimarc_field_124f.pl | 2 +- > cataloguing/value_builder/unimarc_field_124g.pl | 2 +- > cataloguing/value_builder/unimarc_field_125.pl | 2 +- > cataloguing/value_builder/unimarc_field_125a.pl | 2 +- > cataloguing/value_builder/unimarc_field_125b.pl | 2 +- > cataloguing/value_builder/unimarc_field_126.pl | 2 +- > cataloguing/value_builder/unimarc_field_126a.pl | 2 +- > cataloguing/value_builder/unimarc_field_126b.pl | 2 +- > cataloguing/value_builder/unimarc_field_127.pl | 2 +- > cataloguing/value_builder/unimarc_field_128a.pl | 2 +- > cataloguing/value_builder/unimarc_field_128b.pl | 2 +- > cataloguing/value_builder/unimarc_field_128c.pl | 2 +- > cataloguing/value_builder/unimarc_field_130.pl | 2 +- > cataloguing/value_builder/unimarc_field_135a.pl | 2 +- > cataloguing/value_builder/unimarc_field_140.pl | 2 +- > cataloguing/value_builder/unimarc_field_141.pl | 2 +- > cataloguing/value_builder/unimarc_field_210c.pl | 2 +- > cataloguing/value_builder/unimarc_field_210c_bis.pl | 2 +- > cataloguing/value_builder/unimarc_field_225a.pl | 2 +- > cataloguing/value_builder/unimarc_field_4XX.pl | 2 +- > cataloguing/value_builder/unimarc_field_686a.pl | 2 +- > cataloguing/value_builder/unimarc_field_700-4.pl | 2 +- > cataloguing/value_builder/unimarc_leader.pl | 2 +- > cataloguing/ysearch.pl | 2 +- > cataloguing/z3950_auth_search.pl | 2 +- > cataloguing/z3950_search.pl | 2 +- > changelanguage.pl | 2 +- > circ/add_message.pl | 2 +- > circ/bookcount.pl | 2 +- > circ/branchoverdues.pl | 2 +- > circ/branchtransfers.pl | 2 +- > circ/circulation-home.pl | 2 +- > circ/circulation.pl | 2 +- > circ/del_message.pl | 2 +- > circ/hold-transfer-slip.pl | 2 +- > circ/offline-mf.pl | 2 +- > circ/offline.pl | 2 +- > circ/overdue.pl | 2 +- > circ/pendingreserves.pl | 2 +- > circ/renew.pl | 2 +- > circ/reserveratios.pl | 2 +- > circ/returns.pl | 2 +- > circ/selectbranchprinter.pl | 2 +- > circ/stats.pl | 2 +- > circ/transfer-slip.pl | 2 +- > circ/transferstoreceive.pl | 2 +- > circ/view_holdsqueue.pl | 2 +- > circ/waitingreserves.pl | 2 +- > circ/ypattrodue-attr-search-authvalue.pl | 2 +- > circ/ysearch.pl | 2 +- > course_reserves/add_items.pl | 2 +- > course_reserves/course-details.pl | 2 +- > course_reserves/course-reserves.pl | 2 +- > course_reserves/course.pl | 2 +- > course_reserves/mod_course.pl | 2 +- > docs/CAS/CASProxy/examples/koha_webservice.pl | 2 +- > docs/CAS/CASProxy/examples/proxy_cas.pl | 2 +- > docs/CAS/CASProxy/examples/proxy_cas_callback.pl | 2 +- > docs/CAS/CASProxy/examples/proxy_cas_data.pl | 2 +- > edithelp.pl | 2 +- > errors/400.pl | 2 +- > errors/401.pl | 2 +- > errors/402.pl | 2 +- > errors/403.pl | 2 +- > errors/404.pl | 2 +- > errors/500.pl | 2 +- > fix-perl-path.PL | 2 +- > help.pl | 2 +- > .../0001-bug_2929-permit_to_define_fine_days_in_issuing_rules.pl | 2 +- > .../mysql/atomicupdate/0004-Add_Some_Missing_fields_to_suggestions.pl | 2 +- > installer/data/mysql/atomicupdate/0005-Add_CAS_Configuration.pl | 2 +- > installer/data/mysql/atomicupdate/0007-Opac-search-history.pl | 2 +- > .../mysql/atomicupdate/0008-opac-description-for-authorised-values.pl | 2 +- > installer/data/mysql/atomicupdate/0009-patron-attr-display-checkout.pl | 2 +- > .../atomicupdate/Bug-4246-Talking-Tech-itiva-phone-notifications.pl | 2 +- > .../bug_6843_Renew_membership_from_expiry_or_current_date.pl | 2 +- > .../bug_7144-add-returnbranch-to-branch-item-issuing-rules.pl | 2 +- > installer/data/mysql/atomicupdate/importauthorities.pl | 2 +- > installer/data/mysql/atomicupdate/issuedate_times.pl | 2 +- > installer/data/mysql/atomicupdate/local_cover_images.pl | 2 +- > installer/data/mysql/atomicupdate/subscription_add_enddate.pl | 2 +- > installer/data/mysql/backfill_statistics.pl | 2 +- > installer/data/mysql/labels_upgrade.pl | 2 +- > installer/data/mysql/patroncards_upgrade.pl | 2 +- > installer/data/mysql/update22to30.pl | 2 +- > installer/data/mysql/updatedatabase.pl | 2 +- > installer/externalmodules.pl | 2 +- > installer/html-template-to-template-toolkit.pl | 2 +- > installer/install.pl | 2 +- > koha-tmpl/intranet-tmpl/lib/tiny_mce/tiny_mce_gzip.pl | 2 +- > koha_perl_deps.pl | 2 +- > labels/label-create-csv.pl | 2 +- > labels/label-create-pdf.pl | 2 +- > labels/label-create-xml.pl | 2 +- > labels/label-edit-batch.pl | 2 +- > labels/label-edit-layout.pl | 2 +- > labels/label-edit-profile.pl | 2 +- > labels/label-edit-template.pl | 2 +- > labels/label-home.pl | 2 +- > labels/label-item-search.pl | 2 +- > labels/label-manage.pl | 2 +- > labels/label-print.pl | 2 +- > labels/spinelabel-home.pl | 2 +- > labels/spinelabel-print.pl | 2 +- > mainpage.pl | 2 +- > members/boraccount.pl | 2 +- > members/default_messageprefs.pl | 2 +- > members/deletemem.pl | 2 +- > members/files.pl | 2 +- > members/guarantor_search.pl | 2 +- > members/mancredit.pl | 2 +- > members/maninvoice.pl | 2 +- > members/member-flags.pl | 2 +- > members/member-password.pl | 2 +- > members/member.pl | 2 +- > members/memberentry.pl | 2 +- > members/members-home.pl | 2 +- > members/members-update-do.pl | 2 +- > members/members-update.pl | 2 +- > members/mod_debarment.pl | 2 +- > members/moremember.pl | 2 +- > members/nl-search.pl | 2 +- > members/notices.pl | 2 +- > members/patronimage.pl | 2 +- > members/pay.pl | 2 +- > members/paycollect.pl | 2 +- > members/printfeercpt.pl | 2 +- > members/printinvoice.pl | 2 +- > members/printslip.pl | 2 +- > members/purchase-suggestions.pl | 2 +- > members/readingrec.pl | 2 +- > members/routing-lists.pl | 2 +- > members/setstatus.pl | 2 +- > members/statistics.pl | 2 +- > members/summary-print.pl | 2 +- > members/update-child.pl | 2 +- > misc/batchCompareMARCvsFrameworks.pl | 2 +- > misc/batchDeleteUnusedSubfields.pl | 2 +- > misc/batchImportMARCWithBiblionumbers.pl | 2 +- > misc/batchRebuildBiblioTables.pl | 2 +- > misc/batchRepairMissingBiblionumbers.pl | 2 +- > misc/batchdeletebiblios.pl | 2 +- > misc/batchupdateISBNs.pl | 2 +- > misc/bin/connexion_import_daemon.pl | 2 +- > misc/check_sysprefs.pl | 2 +- > misc/commit_file.pl | 2 +- > misc/cronjobs/MARC21_parse_test.pl | 2 +- > misc/cronjobs/advance_notices.pl | 2 +- > misc/cronjobs/automatic_renewals.pl | 2 +- > misc/cronjobs/batch_anonymise.pl | 2 +- > misc/cronjobs/build_browser_and_cloud.pl | 2 +- > misc/cronjobs/cart_to_shelf.pl | 2 +- > misc/cronjobs/check-url-quick.pl | 2 +- > misc/cronjobs/check-url.pl | 2 +- > misc/cronjobs/cleanup_database.pl | 2 +- > misc/cronjobs/cloud-kw.pl | 2 +- > misc/cronjobs/create_koc_db.pl | 2 +- > misc/cronjobs/delete_expired_opac_registrations.pl | 2 +- > misc/cronjobs/delete_patrons.pl | 2 +- > misc/cronjobs/delete_unverified_opac_registrations.pl | 2 +- > misc/cronjobs/fines.pl | 2 +- > misc/cronjobs/gather_print_notices.pl | 2 +- > misc/cronjobs/holds/auto_unsuspend_holds.pl | 2 +- > misc/cronjobs/holds/build_holds_queue.pl | 2 +- > misc/cronjobs/holds/cancel_expired_holds.pl | 2 +- > misc/cronjobs/import_webservice_batch.pl | 2 +- > misc/cronjobs/j2a.pl | 2 +- > misc/cronjobs/longoverdue.pl | 2 +- > misc/cronjobs/nl-sync-from-koha.pl | 2 +- > misc/cronjobs/nl-sync-to-koha.pl | 2 +- > misc/cronjobs/overdue_notices.pl | 2 +- > misc/cronjobs/process_message_queue.pl | 2 +- > misc/cronjobs/purge_suggestions.pl | 2 +- > misc/cronjobs/rss/rss.pl | 2 +- > misc/cronjobs/runreport.pl | 2 +- > misc/cronjobs/serialsUpdate.pl | 2 +- > misc/cronjobs/services_throttle.pl | 2 +- > misc/cronjobs/share_usage_with_koha_community.pl | 2 +- > misc/cronjobs/social_data/get_report_social_data.pl | 2 +- > misc/cronjobs/social_data/update_social_data.pl | 2 +- > misc/cronjobs/staticfines.pl | 2 +- > misc/cronjobs/thirdparty/TalkingTech_itiva_inbound.pl | 2 +- > misc/cronjobs/thirdparty/TalkingTech_itiva_outbound.pl | 2 +- > misc/cronjobs/update_totalissues.pl | 2 +- > misc/devel/update_dbix_class_files.pl | 2 +- > misc/export_borrowers.pl | 2 +- > misc/exportauth.pl | 2 +- > misc/kohalib.pl | 2 +- > misc/link_bibs_to_authorities.pl | 2 +- > misc/load_testing/benchmark_circulation.pl | 2 +- > misc/load_testing/benchmark_staff.pl | 2 +- > misc/load_testing/benchmark_webservices.pl | 2 +- > misc/maintenance/MARC21_utf8_flag_fix.pl | 2 +- > misc/maintenance/UNIMARC_fix_collectiontitle.pl | 2 +- > misc/maintenance/UNIMARC_sync_date_created_with_marc_biblio.pl | 2 +- > misc/maintenance/cmp_sysprefs.pl | 2 +- > misc/maintenance/fix_accountlines_date.pl | 2 +- > misc/maintenance/fix_accountlines_rmdupfines_bug8253.pl | 2 +- > misc/maintenance/fix_mysql_constraints.pl | 2 +- > misc/maintenance/process_record_through_filter.pl | 2 +- > misc/maintenance/remove_items_from_biblioitems.pl | 2 +- > misc/maintenance/sanitize_records.pl | 2 +- > misc/maintenance/touch_all_biblios.pl | 2 +- > misc/maintenance/touch_all_items.pl | 2 +- > misc/migration_tools/22_to_30/convert_to_utf8.pl | 2 +- > misc/migration_tools/22_to_30/export_Authorities.pl | 2 +- > misc/migration_tools/22_to_30/export_Authorities_xml.pl | 2 +- > misc/migration_tools/22_to_30/missing090field.pl | 2 +- > misc/migration_tools/22_to_30/move_marc_to_authheader.pl | 2 +- > misc/migration_tools/22_to_30/move_marc_to_biblioitems.pl | 2 +- > misc/migration_tools/22_to_30/rebuild_leader.pl | 2 +- > misc/migration_tools/22_to_30/rebuild_unimarc_100.pl | 2 +- > misc/migration_tools/buildCOUNTRY.pl | 2 +- > misc/migration_tools/buildEDITORS.pl | 2 +- > misc/migration_tools/buildLANG.pl | 2 +- > misc/migration_tools/build_oai_sets.pl | 2 +- > misc/migration_tools/bulkmarcimport.pl | 2 +- > misc/migration_tools/checkNonIndexedBiblios.pl | 2 +- > misc/migration_tools/create_analytical_rel.pl | 2 +- > misc/migration_tools/fix_onloan.pl | 2 +- > misc/migration_tools/koha-svc.pl | 2 +- > misc/migration_tools/merge_authority.pl | 2 +- > misc/migration_tools/rebuild_zebra.pl | 2 +- > misc/migration_tools/remove_unused_authorities.pl | 2 +- > misc/migration_tools/switch_marc21_series_info.pl | 2 +- > misc/migration_tools/upgradeitems.pl | 2 +- > misc/mod_zebraqueue.pl | 2 +- > misc/perlmodule_ls.pl | 2 +- > misc/perlmodule_rm.pl | 2 +- > misc/recreateIssueStatistics.pl | 2 +- > misc/sax_parser_print.pl | 2 +- > misc/sax_parser_test.pl | 2 +- > misc/sip_cli_emulator.pl | 2 +- > misc/stage_file.pl | 2 +- > misc/translator/text-extract.pl | 2 +- > misc/translator/text-extract2.pl | 2 +- > misc/translator/tmpl_process3.pl | 2 +- > misc/translator/xgettext.pl | 2 +- > offline_circ/download.pl | 2 +- > offline_circ/enqueue_koc.pl | 2 +- > offline_circ/list.pl | 2 +- > offline_circ/process.pl | 2 +- > offline_circ/process_koc.pl | 2 +- > offline_circ/service.pl | 2 +- > opac/errors/400.pl | 2 +- > opac/errors/401.pl | 2 +- > opac/errors/402.pl | 2 +- > opac/errors/403.pl | 2 +- > opac/errors/404.pl | 2 +- > opac/errors/500.pl | 2 +- > opac/ilsdi.pl | 2 +- > opac/maintenance.pl | 2 +- > opac/oai.pl | 2 +- > opac/opac-ISBDdetail.pl | 2 +- > opac/opac-MARCdetail.pl | 2 +- > opac/opac-account.pl | 2 +- > opac/opac-addbybiblionumber.pl | 2 +- > opac/opac-alert-subscribe.pl | 2 +- > opac/opac-authorities-home.pl | 2 +- > opac/opac-authoritiesdetail.pl | 2 +- > opac/opac-basket.pl | 2 +- > opac/opac-blocked.pl | 2 +- > opac/opac-browser.pl | 2 +- > opac/opac-changelanguage.pl | 2 +- > opac/opac-course-details.pl | 2 +- > opac/opac-course-reserves.pl | 2 +- > opac/opac-detail.pl | 2 +- > opac/opac-downloadcart.pl | 2 +- > opac/opac-downloadshelf.pl | 2 +- > opac/opac-export.pl | 2 +- > opac/opac-ics.pl | 2 +- > opac/opac-image.pl | 2 +- > opac/opac-imageviewer.pl | 2 +- > opac/opac-main.pl | 2 +- > opac/opac-memberentry.pl | 2 +- > opac/opac-messaging.pl | 2 +- > opac/opac-modrequest-suspend.pl | 2 +- > opac/opac-modrequest.pl | 2 +- > opac/opac-mymessages.pl | 2 +- > opac/opac-overdrive-search.pl | 2 +- > opac/opac-passwd.pl | 2 +- > opac/opac-patron-image.pl | 2 +- > opac/opac-privacy.pl | 2 +- > opac/opac-ratings-ajax.pl | 2 +- > opac/opac-ratings.pl | 2 +- > opac/opac-readingrecord.pl | 2 +- > opac/opac-registration-verify.pl | 2 +- > opac/opac-renew.pl | 2 +- > opac/opac-reserve.pl | 2 +- > opac/opac-review.pl | 2 +- > opac/opac-search-history.pl | 2 +- > opac/opac-search.pl | 2 +- > opac/opac-sendbasket.pl | 2 +- > opac/opac-sendshelf.pl | 2 +- > opac/opac-serial-issues.pl | 2 +- > opac/opac-shareshelf.pl | 2 +- > opac/opac-shelves.pl | 2 +- > opac/opac-showmarc.pl | 2 +- > opac/opac-showreviews.pl | 2 +- > opac/opac-suggestions.pl | 2 +- > opac/opac-tags.pl | 2 +- > opac/opac-tags_subject.pl | 2 +- > opac/opac-topissues.pl | 2 +- > opac/opac-user.pl | 2 +- > opac/sco/help.pl | 2 +- > opac/sco/printslip.pl | 2 +- > opac/sco/sco-main.pl | 2 +- > opac/sco/sco-patron-image.pl | 2 +- > opac/svc/shelfbrowser.pl | 2 +- > opac/tracklinks.pl | 2 +- > patron_lists/add-modify.pl | 2 +- > patron_lists/delete.pl | 2 +- > patron_lists/list.pl | 2 +- > patron_lists/lists.pl | 2 +- > patron_lists/patrons.pl | 2 +- > patroncards/card-print.pl | 2 +- > patroncards/create-pdf.pl | 2 +- > patroncards/edit-batch.pl | 2 +- > patroncards/edit-layout.pl | 2 +- > patroncards/edit-profile.pl | 2 +- > patroncards/edit-template.pl | 2 +- > patroncards/home.pl | 2 +- > patroncards/image-manage.pl | 2 +- > patroncards/manage.pl | 2 +- > patroncards/members-search.pl | 2 +- > patroncards/print.pl | 2 +- > plugins/plugins-home.pl | 2 +- > plugins/plugins-uninstall.pl | 2 +- > plugins/plugins-upload.pl | 2 +- > plugins/run.pl | 2 +- > reports/acquisitions_stats.pl | 2 +- > reports/bor_issues_top.pl | 2 +- > reports/borrowers_out.pl | 2 +- > reports/borrowers_stats.pl | 2 +- > reports/cat_issues_top.pl | 2 +- > reports/catalogue_out.pl | 2 +- > reports/catalogue_stats.pl | 2 +- > reports/dictionary.pl | 2 +- > reports/guided_reports.pl | 2 +- > reports/issues_avg_stats.pl | 2 +- > reports/issues_stats.pl | 2 +- > reports/itemslost.pl | 2 +- > reports/manager.pl | 2 +- > reports/reports-home.pl | 2 +- > reports/reservereport.pl | 2 +- > reports/reserves_stats.pl | 2 +- > reports/serials_stats.pl | 2 +- > reports/stats.print.pl | 2 +- > reports/stats.screen.pl | 2 +- > reserve/modrequest.pl | 2 +- > reserve/modrequest_suspendall.pl | 2 +- > reserve/placerequest.pl | 2 +- > reserve/renewscript.pl | 2 +- > reserve/request.pl | 2 +- > reviews/reviewswaiting.pl | 2 +- > rotating_collections/addItems.pl | 2 +- > rotating_collections/editCollections.pl | 2 +- > rotating_collections/rotatingCollections.pl | 2 +- > rotating_collections/transferCollection.pl | 2 +- > serials/acqui-search-result.pl | 2 +- > serials/acqui-search.pl | 2 +- > serials/checkexpiration.pl | 2 +- > serials/claims.pl | 2 +- > serials/create-numberpattern.pl | 2 +- > serials/lateissues-export.pl | 2 +- > serials/member-search.pl | 2 +- > serials/reorder_members.pl | 2 +- > serials/routing-preview.pl | 2 +- > serials/routing.pl | 2 +- > serials/serial-issues.pl | 2 +- > serials/serials-collection.pl | 2 +- > serials/serials-edit.pl | 2 +- > serials/serials-home.pl | 2 +- > serials/serials-recieve.pl | 2 +- > serials/serials-search.pl | 2 +- > serials/showpredictionpattern.pl | 2 +- > serials/subscription-add.pl | 2 +- > serials/subscription-bib-search.pl | 2 +- > serials/subscription-detail.pl | 2 +- > serials/subscription-frequencies.pl | 2 +- > serials/subscription-frequency.pl | 2 +- > serials/subscription-history.pl | 2 +- > serials/subscription-numberpattern.pl | 2 +- > serials/subscription-numberpatterns.pl | 2 +- > serials/subscription-renew.pl | 2 +- > serials/viewalerts.pl | 2 +- > services/itemrecorddisplay.pl | 2 +- > sms/sms.pl | 2 +- > sms/sms_listen.pl | 2 +- > sms/sms_listen_windows_start.pl | 2 +- > suggestion/suggestion.pl | 2 +- > t/db_dependent/LDAP/test_ldap_add.pl | 2 +- > t/db_dependent/default_search_class.pl | 2 +- > t/db_dependent/zebra_config.pl | 2 +- > tags/list.pl | 2 +- > tags/review.pl | 2 +- > test/progressbar.pl | 2 +- > test/progressbarsubmit.pl | 2 +- > test/search.pl | 2 +- > tools/ajax-inventory.pl | 2 +- > tools/background-job-progress.pl | 2 +- > tools/batchMod.pl | 2 +- > tools/batch_delete_records.pl | 2 +- > tools/batch_record_modification.pl | 2 +- > tools/batch_records_ajax.pl | 2 +- > tools/cleanborrowers.pl | 2 +- > tools/copy-holidays.pl | 2 +- > tools/csv-profiles.pl | 2 +- > tools/exceptionHolidays.pl | 2 +- > tools/export.pl | 2 +- > tools/holidays.pl | 2 +- > tools/import_borrowers.pl | 2 +- > tools/inventory.pl | 2 +- > tools/koha-news.pl | 2 +- > tools/letter.pl | 2 +- > tools/manage-marc-import.pl | 2 +- > tools/marc_modification_templates.pl | 2 +- > tools/modborrowers.pl | 2 +- > tools/newHolidays.pl | 2 +- > tools/overduerules.pl | 2 +- > tools/picture-upload.pl | 2 +- > tools/quotes-upload.pl | 2 +- > tools/quotes.pl | 2 +- > tools/quotes/quotes-upload_ajax.pl | 2 +- > tools/quotes/quotes_ajax.pl | 2 +- > tools/scheduler.pl | 2 +- > tools/showdiffmarc.pl | 2 +- > tools/stage-marc-import.pl | 2 +- > tools/tools-home.pl | 2 +- > tools/upload-cover-image.pl | 2 +- > tools/upload-file-progress.pl | 2 +- > tools/upload-file.pl | 2 +- > tools/viewlog.pl | 2 +- > virtualshelves/addbybiblionumber.pl | 2 +- > virtualshelves/downloadshelf.pl | 2 +- > virtualshelves/sendshelf.pl | 2 +- > virtualshelves/shelves.pl | 2 +- > xt/author/show-template-structure.pl | 2 +- > xt/yaml_valid.pl | 2 +- > 618 files changed, 618 insertions(+), 618 deletions(-) > >diff --git a/C4/SIP/interactive_item_dump.pl b/C4/SIP/interactive_item_dump.pl >index 3e485ea..8b2382b 100755 >--- a/C4/SIP/interactive_item_dump.pl >+++ b/C4/SIP/interactive_item_dump.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > > use warnings; >diff --git a/C4/SIP/interactive_members_dump.pl b/C4/SIP/interactive_members_dump.pl >index 2389769..9423e73 100755 >--- a/C4/SIP/interactive_members_dump.pl >+++ b/C4/SIP/interactive_members_dump.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > > use warnings; >diff --git a/C4/SIP/interactive_patron_check_password.pl b/C4/SIP/interactive_patron_check_password.pl >index 88e5426..faae40c 100755 >--- a/C4/SIP/interactive_patron_check_password.pl >+++ b/C4/SIP/interactive_patron_check_password.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > > use warnings; >diff --git a/C4/SIP/interactive_patron_dump.pl b/C4/SIP/interactive_patron_dump.pl >index afc3bcc..19a240e 100755 >--- a/C4/SIP/interactive_patron_dump.pl >+++ b/C4/SIP/interactive_patron_dump.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > > use warnings; >diff --git a/C4/SIP/interactive_renew_all_dump.pl b/C4/SIP/interactive_renew_all_dump.pl >index df7a592..5ce2eef 100755 >--- a/C4/SIP/interactive_renew_all_dump.pl >+++ b/C4/SIP/interactive_renew_all_dump.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > > use warnings; >diff --git a/C4/SIP/xmlparse.pl b/C4/SIP/xmlparse.pl >index 77ed535..cfecfd9 100755 >--- a/C4/SIP/xmlparse.pl >+++ b/C4/SIP/xmlparse.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > # This file reads a SIPServer xml-format configuration file and dumps it > # to stdout. Just to see what the structures look like. >diff --git a/about.pl b/about.pl >index 8ca71eb..8f95988 100755 >--- a/about.pl >+++ b/about.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright Pat Eyler 2003 > # Copyright Biblibre 2006 >diff --git a/acqui/acqui-home.pl b/acqui/acqui-home.pl >index 6aca89f..899280b 100755 >--- a/acqui/acqui-home.pl >+++ b/acqui/acqui-home.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2008 - 2009 BibLibre SARL > # This file is part of Koha. >diff --git a/acqui/add_user_search.pl b/acqui/add_user_search.pl >index e86b0e4..f7c4138 100755 >--- a/acqui/add_user_search.pl >+++ b/acqui/add_user_search.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/acqui/addorder.pl b/acqui/addorder.pl >index f00f4bc..42010be 100755 >--- a/acqui/addorder.pl >+++ b/acqui/addorder.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > #script to add an order into the system > #written 29/2/00 by chris@katipo.co.nz >diff --git a/acqui/addorderiso2709.pl b/acqui/addorderiso2709.pl >index b4aa4d9..1586331 100755 >--- a/acqui/addorderiso2709.pl >+++ b/acqui/addorderiso2709.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > #A script that lets the user populate a basket from an iso2709 file > #the script first displays a list of import batches, then when a batch is selected displays all the biblios in it. >diff --git a/acqui/ajax-getauthvaluedropbox.pl b/acqui/ajax-getauthvaluedropbox.pl >index fb0e5e5..5ec3035 100755 >--- a/acqui/ajax-getauthvaluedropbox.pl >+++ b/acqui/ajax-getauthvaluedropbox.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/acqui/basket.pl b/acqui/basket.pl >index 3dd917c..17c871d 100755 >--- a/acqui/basket.pl >+++ b/acqui/basket.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > #script to show display basket of orders > >diff --git a/acqui/basketgroup.pl b/acqui/basketgroup.pl >index 9c57f69..1f47b11 100755 >--- a/acqui/basketgroup.pl >+++ b/acqui/basketgroup.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > #script to group (closed) baskets into basket groups for easier order management > #written by john.soros@biblibre.com 01/10/2008 >diff --git a/acqui/basketheader.pl b/acqui/basketheader.pl >index 15c76e8..88d821c 100755 >--- a/acqui/basketheader.pl >+++ b/acqui/basketheader.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > #script to add basket and edit header options (name, notes and contractnumber) > #written by john.soros@biblibre.com 15/09/2008 >diff --git a/acqui/booksellers.pl b/acqui/booksellers.pl >index a5eb47d..a323911 100755 >--- a/acqui/booksellers.pl >+++ b/acqui/booksellers.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > #script to show suppliers and orders > >diff --git a/acqui/cancelorder.pl b/acqui/cancelorder.pl >index a0b7597..e48bd8a 100755 >--- a/acqui/cancelorder.pl >+++ b/acqui/cancelorder.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2014 BibLibre > # >diff --git a/acqui/check_budget_total.pl b/acqui/check_budget_total.pl >index a140559..974c1af 100755 >--- a/acqui/check_budget_total.pl >+++ b/acqui/check_budget_total.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2008-2009 BibLibre SARL > # >diff --git a/acqui/check_duplicate_barcode_ajax.pl b/acqui/check_duplicate_barcode_ajax.pl >index 2ff2b3c..a268e7b 100755 >--- a/acqui/check_duplicate_barcode_ajax.pl >+++ b/acqui/check_duplicate_barcode_ajax.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Frédérick Capovilla, 2011 - Libéo > # >diff --git a/acqui/check_uniqueness.pl b/acqui/check_uniqueness.pl >index b9edd25..e23f54c 100755 >--- a/acqui/check_uniqueness.pl >+++ b/acqui/check_uniqueness.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2011 BibLibre SARL > # >diff --git a/acqui/currency.pl b/acqui/currency.pl >index c211cc3..d7d3f15 100755 >--- a/acqui/currency.pl >+++ b/acqui/currency.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > #script to display and update currency rates > >diff --git a/acqui/finishreceive.pl b/acqui/finishreceive.pl >index 286474f..31ba1af 100755 >--- a/acqui/finishreceive.pl >+++ b/acqui/finishreceive.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > #script to add a new item and to mark orders as received > #written 1/3/00 by chris@katipo.co.nz >diff --git a/acqui/histsearch.pl b/acqui/histsearch.pl >index 06f3e26..93402e9 100755 >--- a/acqui/histsearch.pl >+++ b/acqui/histsearch.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/acqui/invoice-files.pl b/acqui/invoice-files.pl >index 635c427..fb59fda 100755 >--- a/acqui/invoice-files.pl >+++ b/acqui/invoice-files.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/acqui/invoice.pl b/acqui/invoice.pl >index 5fe3b27..b69657c 100755 >--- a/acqui/invoice.pl >+++ b/acqui/invoice.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2011 BibLibre SARL > # This file is part of Koha. >diff --git a/acqui/invoices.pl b/acqui/invoices.pl >index 6542b18..9843438 100755 >--- a/acqui/invoices.pl >+++ b/acqui/invoices.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2011 BibLibre SARL > # This file is part of Koha. >diff --git a/acqui/lateorders-export.pl b/acqui/lateorders-export.pl >index 96a1824..8a3197b 100755 >--- a/acqui/lateorders-export.pl >+++ b/acqui/lateorders-export.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/acqui/lateorders.pl b/acqui/lateorders.pl >index f944a06..ac06d57 100755 >--- a/acqui/lateorders.pl >+++ b/acqui/lateorders.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2005 Biblibre >diff --git a/acqui/modordernotes.pl b/acqui/modordernotes.pl >index 2c6b71b..f3f57ff 100755 >--- a/acqui/modordernotes.pl >+++ b/acqui/modordernotes.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2011 BibLibre SARL > # This file is part of Koha. >diff --git a/acqui/neworderbiblio.pl b/acqui/neworderbiblio.pl >index e7c427c..1db2220 100755 >--- a/acqui/neworderbiblio.pl >+++ b/acqui/neworderbiblio.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > #origninally script to provide intranet (librarian) advanced search facility > #now script to do searching for acquisitions >diff --git a/acqui/neworderempty.pl b/acqui/neworderempty.pl >index 2966e8e..bde0f44 100755 >--- a/acqui/neworderempty.pl >+++ b/acqui/neworderempty.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > #script to show display basket of orders > #written by chris@katipo.co.nz 24/2/2000 >diff --git a/acqui/newordersubscription.pl b/acqui/newordersubscription.pl >index cb04c64..e35270d 100755 >--- a/acqui/newordersubscription.pl >+++ b/acqui/newordersubscription.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2012 BibLibre > # >diff --git a/acqui/newordersuggestion.pl b/acqui/newordersuggestion.pl >index 839b4f4..836826f 100755 >--- a/acqui/newordersuggestion.pl >+++ b/acqui/newordersuggestion.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2006 Biblibre > # Parts Copyright 2011 PTFS Europe >diff --git a/acqui/ordered.pl b/acqui/ordered.pl >index 4a1ec5b..5838748 100755 >--- a/acqui/ordered.pl >+++ b/acqui/ordered.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2008 - 2009 BibLibre SARL > # Copyright 2010,2011 Catalyst IT Limited >diff --git a/acqui/orderreceive.pl b/acqui/orderreceive.pl >index 96a6a02..90c014e 100755 >--- a/acqui/orderreceive.pl >+++ b/acqui/orderreceive.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > #script to recieve orders >diff --git a/acqui/parcel.pl b/acqui/parcel.pl >index d37c8d9..9e6ac71 100755 >--- a/acqui/parcel.pl >+++ b/acqui/parcel.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > #script to recieve orders > >diff --git a/acqui/parcels.pl b/acqui/parcels.pl >index 3985ae0..a79f302 100755 >--- a/acqui/parcels.pl >+++ b/acqui/parcels.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > #script to show display basket of orders >diff --git a/acqui/spent.pl b/acqui/spent.pl >index b4436e9..15c8bb7 100755 >--- a/acqui/spent.pl >+++ b/acqui/spent.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # script to show a breakdown of committed and spent budgets > >diff --git a/acqui/supplier.pl b/acqui/supplier.pl >index 30a3d3e..0646af7 100755 >--- a/acqui/supplier.pl >+++ b/acqui/supplier.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # Copyright 2008-2009 BibLibre SARL >diff --git a/acqui/transferorder.pl b/acqui/transferorder.pl >index 3e8bdc8..45d5ef9 100755 >--- a/acqui/transferorder.pl >+++ b/acqui/transferorder.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Script to move an order from a bookseller to another > >diff --git a/acqui/uncertainprice.pl b/acqui/uncertainprice.pl >index b53b7e7..2f3c730 100755 >--- a/acqui/uncertainprice.pl >+++ b/acqui/uncertainprice.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > #script to show a list of orders with uncertain prices for a bookseller > #the script also allows to edit the prices and uncheck the uncertainprice property of them >diff --git a/acqui/updatesupplier.pl b/acqui/updatesupplier.pl >index d125d89..106f088 100755 >--- a/acqui/updatesupplier.pl >+++ b/acqui/updatesupplier.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > #script to show suppliers and orders > #written by chris@katipo.co.nz 23/2/2000 >diff --git a/acqui/z3950_search.pl b/acqui/z3950_search.pl >index e30901a..a282a95 100755 >--- a/acqui/z3950_search.pl >+++ b/acqui/z3950_search.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This is a completely new Z3950 clients search using async ZOOM -TG 02/11/06 > # Copyright 2000-2002 Katipo Communications >diff --git a/admin/admin-home.pl b/admin/admin-home.pl >index 0300137..1dd99d8 100755 >--- a/admin/admin-home.pl >+++ b/admin/admin-home.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/admin/aqbudget_user_search.pl b/admin/aqbudget_user_search.pl >index 7221e41..584a141 100755 >--- a/admin/aqbudget_user_search.pl >+++ b/admin/aqbudget_user_search.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # script to find owner and users for a budget > >diff --git a/admin/aqbudgetperiods.pl b/admin/aqbudgetperiods.pl >index 94f77e7..6ce2ef2 100755 >--- a/admin/aqbudgetperiods.pl >+++ b/admin/aqbudgetperiods.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2008 BibLibre, BibLibre, Paul POULAIN > # SAN Ouest Provence >diff --git a/admin/aqbudgets.pl b/admin/aqbudgets.pl >index f1c2f39..38f7360 100755 >--- a/admin/aqbudgets.pl >+++ b/admin/aqbudgets.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > #script to administer the aqbudget table > >diff --git a/admin/aqcontract.pl b/admin/aqcontract.pl >index a19efdb..18f37db 100755 >--- a/admin/aqcontract.pl >+++ b/admin/aqcontract.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > #script to administer the contract table > #written 02/09/2008 by john.soros@biblibre.com >diff --git a/admin/aqplan.pl b/admin/aqplan.pl >index dda1d21..58226e5 100755 >--- a/admin/aqplan.pl >+++ b/admin/aqplan.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2008-2009 BibLibre SARL > # This file is part of Koha. >diff --git a/admin/auth_subfields_structure.pl b/admin/auth_subfields_structure.pl >index 1a2ec15..f0995d8 100755 >--- a/admin/auth_subfields_structure.pl >+++ b/admin/auth_subfields_structure.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # >diff --git a/admin/auth_tag_structure.pl b/admin/auth_tag_structure.pl >index 2a4ff57..077af16 100755 >--- a/admin/auth_tag_structure.pl >+++ b/admin/auth_tag_structure.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/admin/authorised_values.pl b/admin/authorised_values.pl >index 422f3a9..8e5d786 100755 >--- a/admin/authorised_values.pl >+++ b/admin/authorised_values.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # >diff --git a/admin/authtypes.pl b/admin/authtypes.pl >index f705fdc..4fc67d1 100755 >--- a/admin/authtypes.pl >+++ b/admin/authtypes.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # written 20/02/2002 by paul.poulain@free.fr > # This software is placed under the gnu General Public License, v2 (http://www.gnu.org/licenses/gpl.html) >diff --git a/admin/biblio_framework.pl b/admin/biblio_framework.pl >index cac4d92..c0ce16d 100755 >--- a/admin/biblio_framework.pl >+++ b/admin/biblio_framework.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # NOTE: 4-character tabs > > #written 20/02/2002 by paul.poulain@free.fr >diff --git a/admin/branch_transfer_limits.pl b/admin/branch_transfer_limits.pl >index 1b6f0ec..b70d6a6 100755 >--- a/admin/branch_transfer_limits.pl >+++ b/admin/branch_transfer_limits.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # copyright 2010 BibLibre >diff --git a/admin/branches.pl b/admin/branches.pl >index a698a26..a5f690c 100755 >--- a/admin/branches.pl >+++ b/admin/branches.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # >diff --git a/admin/categorie.pl b/admin/categorie.pl >index 75cee49..21011e5 100755 >--- a/admin/categorie.pl >+++ b/admin/categorie.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > #script to administer the categories table > #written 20/02/2002 by paul.poulain@free.fr >diff --git a/admin/check_budget_parent.pl b/admin/check_budget_parent.pl >index 3ce9b70..76edfe4 100755 >--- a/admin/check_budget_parent.pl >+++ b/admin/check_budget_parent.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # >diff --git a/admin/check_parent_total.pl b/admin/check_parent_total.pl >index 04618ed..95466a5 100755 >--- a/admin/check_parent_total.pl >+++ b/admin/check_parent_total.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # >diff --git a/admin/checkmarc.pl b/admin/checkmarc.pl >index 9050287..32238ab 100755 >--- a/admin/checkmarc.pl >+++ b/admin/checkmarc.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/admin/cities.pl b/admin/cities.pl >index 17dd421..0aacf48 100755 >--- a/admin/cities.pl >+++ b/admin/cities.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2006 SAN OUEST-PROVENCE et Paul POULAIN > # >diff --git a/admin/classsources.pl b/admin/classsources.pl >index 56a2565..efc7da9 100755 >--- a/admin/classsources.pl >+++ b/admin/classsources.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > # Copyright 2007 LibLime > # >diff --git a/admin/clone-rules.pl b/admin/clone-rules.pl >index c8a39a7..3d42fad 100755 >--- a/admin/clone-rules.pl >+++ b/admin/clone-rules.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # vim: et ts=4 sw=4 > # Copyright BibLibre > # >diff --git a/admin/columns_settings.pl b/admin/columns_settings.pl >index c0c117b..fa6cd67 100755 >--- a/admin/columns_settings.pl >+++ b/admin/columns_settings.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > use Modern::Perl; > use CGI; >diff --git a/admin/currency.pl b/admin/currency.pl >index 5550f0f..1d54c1b 100755 >--- a/admin/currency.pl >+++ b/admin/currency.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > #script to administer the aqbudget table > #written 20/02/2002 by paul.poulain@free.fr >diff --git a/admin/didyoumean.pl b/admin/didyoumean.pl >index 52ebeaa..4667330 100755 >--- a/admin/didyoumean.pl >+++ b/admin/didyoumean.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > use strict; > use warnings; >diff --git a/admin/env_tz_test.pl b/admin/env_tz_test.pl >index 533bda0..390c142 100755 >--- a/admin/env_tz_test.pl >+++ b/admin/env_tz_test.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > use strict; > use warnings; >diff --git a/admin/fieldmapping.pl b/admin/fieldmapping.pl >index 8214deb..43075b8 100755 >--- a/admin/fieldmapping.pl >+++ b/admin/fieldmapping.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # Copyright 2009 SARL BibLibre > # > # This file is part of Koha. >diff --git a/admin/import_export_framework.pl b/admin/import_export_framework.pl >index cb7a1cc..b5c37ab 100755 >--- a/admin/import_export_framework.pl >+++ b/admin/import_export_framework.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2010-2011 MASmedios.com y Ministerio de Cultura > # >diff --git a/admin/item_circulation_alerts.pl b/admin/item_circulation_alerts.pl >index d1018c1..e33ebab 100755 >--- a/admin/item_circulation_alerts.pl >+++ b/admin/item_circulation_alerts.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/admin/items_search_field.pl b/admin/items_search_field.pl >index a544959..78eb634 100755 >--- a/admin/items_search_field.pl >+++ b/admin/items_search_field.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # Copyright 2013 BibLibre > # > # This file is part of Koha >diff --git a/admin/items_search_fields.pl b/admin/items_search_fields.pl >index 1ebf243..490e696 100755 >--- a/admin/items_search_fields.pl >+++ b/admin/items_search_fields.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # Copyright 2013 BibLibre > # > # This file is part of Koha >diff --git a/admin/itemtypes.pl b/admin/itemtypes.pl >index 1bfad90..067655d 100755 >--- a/admin/itemtypes.pl >+++ b/admin/itemtypes.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # >diff --git a/admin/koha2marclinks.pl b/admin/koha2marclinks.pl >index 8a51ec8..50dbcc3 100755 >--- a/admin/koha2marclinks.pl >+++ b/admin/koha2marclinks.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # >diff --git a/admin/marc_subfields_structure.pl b/admin/marc_subfields_structure.pl >index 5261dd4..5ac72b1 100755 >--- a/admin/marc_subfields_structure.pl >+++ b/admin/marc_subfields_structure.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # >diff --git a/admin/marctagstructure.pl b/admin/marctagstructure.pl >index f969b07..079e46a 100755 >--- a/admin/marctagstructure.pl >+++ b/admin/marctagstructure.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/admin/matching-rules.pl b/admin/matching-rules.pl >index 988460c..2191d62 100755 >--- a/admin/matching-rules.pl >+++ b/admin/matching-rules.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > # Copyright 2007 LibLime > # >diff --git a/admin/oai_set_mappings.pl b/admin/oai_set_mappings.pl >index ab2e9b3..32c3f9e 100755 >--- a/admin/oai_set_mappings.pl >+++ b/admin/oai_set_mappings.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2011 BibLibre SARL > # This file is part of Koha. >diff --git a/admin/oai_sets.pl b/admin/oai_sets.pl >index 00d9640..27a6938 100755 >--- a/admin/oai_sets.pl >+++ b/admin/oai_sets.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2011 BibLibre SARL > # This file is part of Koha. >diff --git a/admin/patron-attr-types.pl b/admin/patron-attr-types.pl >index 853d7dd..715be52 100755 >--- a/admin/patron-attr-types.pl >+++ b/admin/patron-attr-types.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > # Copyright 2008 LibLime > # Parts copyright 2010 BibLibre >diff --git a/admin/preferences.pl b/admin/preferences.pl >index a6b4776..7fa3f11 100755 >--- a/admin/preferences.pl >+++ b/admin/preferences.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > # Copyright 2009 Jesse Weaver and the Koha Dev Team > # >diff --git a/admin/printers.pl b/admin/printers.pl >index f94cfeb..0af9311 100755 >--- a/admin/printers.pl >+++ b/admin/printers.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > #script to administer the aqbudget table > #written 20/02/2002 by paul.poulain@free.fr >diff --git a/admin/smart-rules.pl b/admin/smart-rules.pl >index 34efefb..1ea0fdd 100755 >--- a/admin/smart-rules.pl >+++ b/admin/smart-rules.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # Copyright 2000-2002 Katipo Communications > # copyright 2010 BibLibre > # >diff --git a/admin/sru_modmapping.pl b/admin/sru_modmapping.pl >index d5ef116..90f31fc 100755 >--- a/admin/sru_modmapping.pl >+++ b/admin/sru_modmapping.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2014 Rijksmuseum > # >diff --git a/admin/stopwords.pl b/admin/stopwords.pl >index 58b86e2..2cb1237 100755 >--- a/admin/stopwords.pl >+++ b/admin/stopwords.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > #script to administer the stopwords table > #written 20/02/2002 by paul.poulain@free.fr >diff --git a/admin/systempreferences.pl b/admin/systempreferences.pl >index bb37bae..c1d5dcb 100755 >--- a/admin/systempreferences.pl >+++ b/admin/systempreferences.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # script to administer the systempref table > # written 20/02/2002 by paul.poulain@free.fr >diff --git a/admin/transport-cost-matrix.pl b/admin/transport-cost-matrix.pl >index 54d8785..1820720 100755 >--- a/admin/transport-cost-matrix.pl >+++ b/admin/transport-cost-matrix.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # Copyright 2000-2002 Katipo Communications > # copyright 2010 BibLibre > # >diff --git a/admin/z3950servers.pl b/admin/z3950servers.pl >index df4b99a..c07bdb0 100755 >--- a/admin/z3950servers.pl >+++ b/admin/z3950servers.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2002 paul.poulain@free.fr > # Copyright 2014 Rijksmuseum >diff --git a/authorities/auth_finder.pl b/authorities/auth_finder.pl >index 818bb6d..b74ec30 100755 >--- a/authorities/auth_finder.pl >+++ b/authorities/auth_finder.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # WARNING: 4-character tab stops here > > # Copyright 2000-2002 Katipo Communications >diff --git a/authorities/authorities-home.pl b/authorities/authorities-home.pl >index 578d9a0..40b0e56 100755 >--- a/authorities/authorities-home.pl >+++ b/authorities/authorities-home.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # >diff --git a/authorities/authorities-list.pl b/authorities/authorities-list.pl >index 2b15856..c09c532 100755 >--- a/authorities/authorities-list.pl >+++ b/authorities/authorities-list.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > use strict; > use warnings; > use C4::Context; >diff --git a/authorities/authorities.pl b/authorities/authorities.pl >index f9a79ad..e5719bd 100755 >--- a/authorities/authorities.pl >+++ b/authorities/authorities.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/authorities/blinddetail-biblio-search.pl b/authorities/blinddetail-biblio-search.pl >index 86371e0..ec243bb 100755 >--- a/authorities/blinddetail-biblio-search.pl >+++ b/authorities/blinddetail-biblio-search.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # >diff --git a/authorities/detail-biblio-search.pl b/authorities/detail-biblio-search.pl >index 027345d..1975017 100755 >--- a/authorities/detail-biblio-search.pl >+++ b/authorities/detail-biblio-search.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # >diff --git a/authorities/detail.pl b/authorities/detail.pl >index 3f5018c..9363018 100755 >--- a/authorities/detail.pl >+++ b/authorities/detail.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # >diff --git a/authorities/export.pl b/authorities/export.pl >index 6b79ffb..90805f1 100755 >--- a/authorities/export.pl >+++ b/authorities/export.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > use strict; > use warnings; > >diff --git a/authorities/merge.pl b/authorities/merge.pl >index 6f2b154..07f19e2 100755 >--- a/authorities/merge.pl >+++ b/authorities/merge.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2013 C & P Bibliography Services > # >diff --git a/authorities/merge_ajax.pl b/authorities/merge_ajax.pl >index 458b4c9..e984c45 100755 >--- a/authorities/merge_ajax.pl >+++ b/authorities/merge_ajax.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > use strict; > use warnings; >diff --git a/authorities/ysearch.pl b/authorities/ysearch.pl >index 7a28a6b..a61a25b 100755 >--- a/authorities/ysearch.pl >+++ b/authorities/ysearch.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This software is placed under the gnu General Public License, v2 (http://www.gnu.org/licenses/gpl.html) > >diff --git a/basket/basket.pl b/basket/basket.pl >index ea8e863..a59e2dc 100755 >--- a/basket/basket.pl >+++ b/basket/basket.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/basket/downloadcart.pl b/basket/downloadcart.pl >index 199271e..b13d8d2 100755 >--- a/basket/downloadcart.pl >+++ b/basket/downloadcart.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2009 BibLibre > # >diff --git a/basket/sendbasket.pl b/basket/sendbasket.pl >index 9c3e6a5..28751e6 100755 >--- a/basket/sendbasket.pl >+++ b/basket/sendbasket.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/catalogue/ISBDdetail.pl b/catalogue/ISBDdetail.pl >index 18f0014..5344aa2 100755 >--- a/catalogue/ISBDdetail.pl >+++ b/catalogue/ISBDdetail.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # >diff --git a/catalogue/MARCdetail.pl b/catalogue/MARCdetail.pl >index c11bdf3..e5e3598 100755 >--- a/catalogue/MARCdetail.pl >+++ b/catalogue/MARCdetail.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # Copyright 2010 BibLibre >diff --git a/catalogue/detail.pl b/catalogue/detail.pl >index adf6823..8b898c3 100755 >--- a/catalogue/detail.pl >+++ b/catalogue/detail.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/catalogue/export.pl b/catalogue/export.pl >index e66d3f2..218d050 100755 >--- a/catalogue/export.pl >+++ b/catalogue/export.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > use strict; > #use warnings; FIXME - Bug 2505 > >diff --git a/catalogue/getitem-ajax.pl b/catalogue/getitem-ajax.pl >index ad9b4b1..ebbf877 100755 >--- a/catalogue/getitem-ajax.pl >+++ b/catalogue/getitem-ajax.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright BibLibre 2012 > # >diff --git a/catalogue/image.pl b/catalogue/image.pl >index 6f9142d..c906096 100755 >--- a/catalogue/image.pl >+++ b/catalogue/image.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > # Copyright (C) 2011 C & P Bibliography Services > # Jared Camins-Esakov <jcamins@cpbibliograpy.com> >diff --git a/catalogue/imageviewer.pl b/catalogue/imageviewer.pl >index 007bdfc..7b12f0e 100755 >--- a/catalogue/imageviewer.pl >+++ b/catalogue/imageviewer.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2011 C & P Bibliography Services > # >diff --git a/catalogue/issuehistory.pl b/catalogue/issuehistory.pl >index aae14d9..d3730ba 100755 >--- a/catalogue/issuehistory.pl >+++ b/catalogue/issuehistory.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/catalogue/itemsearch.pl b/catalogue/itemsearch.pl >index 35d1a00..9cbceaa 100755 >--- a/catalogue/itemsearch.pl >+++ b/catalogue/itemsearch.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # Copyright 2013 BibLibre > # > # This file is part of Koha >diff --git a/catalogue/labeledMARCdetail.pl b/catalogue/labeledMARCdetail.pl >index 7e9c6ba..ecfd130 100755 >--- a/catalogue/labeledMARCdetail.pl >+++ b/catalogue/labeledMARCdetail.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2008-2009 LibLime > # >diff --git a/catalogue/moredetail.pl b/catalogue/moredetail.pl >index 39d3c9f..6cf0864 100755 >--- a/catalogue/moredetail.pl >+++ b/catalogue/moredetail.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2003 Katipo Communications > # parts copyright 2010 BibLibre >diff --git a/catalogue/search-history.pl b/catalogue/search-history.pl >index e60f20b..1671837 100755 >--- a/catalogue/search-history.pl >+++ b/catalogue/search-history.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/catalogue/search.pl b/catalogue/search.pl >index 1309563..507e248 100755 >--- a/catalogue/search.pl >+++ b/catalogue/search.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # Script to perform searching > # For documentation try 'perldoc /path/to/search' > # >diff --git a/catalogue/showmarc.pl b/catalogue/showmarc.pl >index de7fb22..d5be435 100755 >--- a/catalogue/showmarc.pl >+++ b/catalogue/showmarc.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Koha library project www.koha-community.org > >diff --git a/catalogue/updateitem.pl b/catalogue/updateitem.pl >index 41a38b4..45ded08 100755 >--- a/catalogue/updateitem.pl >+++ b/catalogue/updateitem.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # $Id: updateitem.pl,v 1.9.2.1.2.4 2006/10/05 18:36:50 kados Exp $ > # Copyright 2006 LibLime >diff --git a/cataloguing/addbiblio.pl b/cataloguing/addbiblio.pl >index 93ef3ef..9afe38e 100755 >--- a/cataloguing/addbiblio.pl >+++ b/cataloguing/addbiblio.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/addbooks.pl b/cataloguing/addbooks.pl >index 54a1208..558d04e 100755 >--- a/cataloguing/addbooks.pl >+++ b/cataloguing/addbooks.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/additem.pl b/cataloguing/additem.pl >index 6ff3bbd..3fae77c 100755 >--- a/cataloguing/additem.pl >+++ b/cataloguing/additem.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # Copyright 2004-2010 BibLibre >diff --git a/cataloguing/linkitem.pl b/cataloguing/linkitem.pl >index 79ab38c..90e47ea 100755 >--- a/cataloguing/linkitem.pl >+++ b/cataloguing/linkitem.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Link an item belonging to an analytical record, the item barcode needs to be provided > # >diff --git a/cataloguing/merge.pl b/cataloguing/merge.pl >index bac7526..d8509bc 100755 >--- a/cataloguing/merge.pl >+++ b/cataloguing/merge.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2009 BibLibre >diff --git a/cataloguing/merge_ajax.pl b/cataloguing/merge_ajax.pl >index 82278a7..7a3e170 100755 >--- a/cataloguing/merge_ajax.pl >+++ b/cataloguing/merge_ajax.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > use strict; > #use warnings; FIXME - Bug 2505 >diff --git a/cataloguing/moveitem.pl b/cataloguing/moveitem.pl >index 0e1cc77..ca5d974 100755 >--- a/cataloguing/moveitem.pl >+++ b/cataloguing/moveitem.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Move an item from a biblio to another > # >diff --git a/cataloguing/plugin_launcher.pl b/cataloguing/plugin_launcher.pl >index 50aeb32..f620007 100755 >--- a/cataloguing/plugin_launcher.pl >+++ b/cataloguing/plugin_launcher.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/barcode.pl b/cataloguing/value_builder/barcode.pl >index 5aeae9f..9a6ec65 100755 >--- a/cataloguing/value_builder/barcode.pl >+++ b/cataloguing/value_builder/barcode.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # Copyright 2000-2002 Katipo Communications > # Parts copyright 2008-2010 Foundations Bible College > # >diff --git a/cataloguing/value_builder/barcode_manual.pl b/cataloguing/value_builder/barcode_manual.pl >index 7b2e465..b7f7c70 100755 >--- a/cataloguing/value_builder/barcode_manual.pl >+++ b/cataloguing/value_builder/barcode_manual.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # Copyright 2000-2002 Katipo Communications > # Parts copyright 2008-2010 Foundations Bible College > # >diff --git a/cataloguing/value_builder/callnumber-KU.pl b/cataloguing/value_builder/callnumber-KU.pl >index 4a0dd77..45f83a8 100755 >--- a/cataloguing/value_builder/callnumber-KU.pl >+++ b/cataloguing/value_builder/callnumber-KU.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2012 CatalystIT Ltd > # >diff --git a/cataloguing/value_builder/callnumber.pl b/cataloguing/value_builder/callnumber.pl >index 73190dc..c13e16e 100755 >--- a/cataloguing/value_builder/callnumber.pl >+++ b/cataloguing/value_builder/callnumber.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2010 BibLibre SARL > # >diff --git a/cataloguing/value_builder/dateaccessioned.pl b/cataloguing/value_builder/dateaccessioned.pl >index 2ae821a..f660d69 100755 >--- a/cataloguing/value_builder/dateaccessioned.pl >+++ b/cataloguing/value_builder/dateaccessioned.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # >diff --git a/cataloguing/value_builder/macles.pl b/cataloguing/value_builder/macles.pl >index bb4b861..dadf296 100755 >--- a/cataloguing/value_builder/macles.pl >+++ b/cataloguing/value_builder/macles.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/marc21_field_003.pl b/cataloguing/value_builder/marc21_field_003.pl >index e08ee6c..d38a413 100755 >--- a/cataloguing/value_builder/marc21_field_003.pl >+++ b/cataloguing/value_builder/marc21_field_003.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/marc21_field_005.pl b/cataloguing/value_builder/marc21_field_005.pl >index 2be76b5..a7be91f 100755 >--- a/cataloguing/value_builder/marc21_field_005.pl >+++ b/cataloguing/value_builder/marc21_field_005.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # >diff --git a/cataloguing/value_builder/marc21_field_006.pl b/cataloguing/value_builder/marc21_field_006.pl >index f2144bc..e36e63c 100755 >--- a/cataloguing/value_builder/marc21_field_006.pl >+++ b/cataloguing/value_builder/marc21_field_006.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # >diff --git a/cataloguing/value_builder/marc21_field_007.pl b/cataloguing/value_builder/marc21_field_007.pl >index e0cd235..b2cb930 100755 >--- a/cataloguing/value_builder/marc21_field_007.pl >+++ b/cataloguing/value_builder/marc21_field_007.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/marc21_field_008.pl b/cataloguing/value_builder/marc21_field_008.pl >index 8a16bae..ed9f77e 100755 >--- a/cataloguing/value_builder/marc21_field_008.pl >+++ b/cataloguing/value_builder/marc21_field_008.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # >diff --git a/cataloguing/value_builder/marc21_field_008_authorities.pl b/cataloguing/value_builder/marc21_field_008_authorities.pl >index ed601ec..fc1bb2c 100755 >--- a/cataloguing/value_builder/marc21_field_008_authorities.pl >+++ b/cataloguing/value_builder/marc21_field_008_authorities.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/marc21_field_040c.pl b/cataloguing/value_builder/marc21_field_040c.pl >index 532ef84..6b882df 100755 >--- a/cataloguing/value_builder/marc21_field_040c.pl >+++ b/cataloguing/value_builder/marc21_field_040c.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # >diff --git a/cataloguing/value_builder/marc21_field_040d.pl b/cataloguing/value_builder/marc21_field_040d.pl >index 64e5bd3..e743cf4 100755 >--- a/cataloguing/value_builder/marc21_field_040d.pl >+++ b/cataloguing/value_builder/marc21_field_040d.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/marc21_field_245h.pl b/cataloguing/value_builder/marc21_field_245h.pl >index 9ab2ca1..5511322 100755 >--- a/cataloguing/value_builder/marc21_field_245h.pl >+++ b/cataloguing/value_builder/marc21_field_245h.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2009 Kyle Hall <kyle.m.hall@gmail.com> >diff --git a/cataloguing/value_builder/marc21_leader.pl b/cataloguing/value_builder/marc21_leader.pl >index 03ad6ae..de52f02 100755 >--- a/cataloguing/value_builder/marc21_leader.pl >+++ b/cataloguing/value_builder/marc21_leader.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/marc21_leader_authorities.pl b/cataloguing/value_builder/marc21_leader_authorities.pl >index b3557b3..da6bf5b 100755 >--- a/cataloguing/value_builder/marc21_leader_authorities.pl >+++ b/cataloguing/value_builder/marc21_leader_authorities.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/marc21_leader_book.pl b/cataloguing/value_builder/marc21_leader_book.pl >index a41b941..b5213a4 100755 >--- a/cataloguing/value_builder/marc21_leader_book.pl >+++ b/cataloguing/value_builder/marc21_leader_book.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/marc21_leader_computerfile.pl b/cataloguing/value_builder/marc21_leader_computerfile.pl >index b6126b2..b2e189b 100755 >--- a/cataloguing/value_builder/marc21_leader_computerfile.pl >+++ b/cataloguing/value_builder/marc21_leader_computerfile.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/marc21_leader_video.pl b/cataloguing/value_builder/marc21_leader_video.pl >index 71b5ba5..d20e2b2 100755 >--- a/cataloguing/value_builder/marc21_leader_video.pl >+++ b/cataloguing/value_builder/marc21_leader_video.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/marc21_linking_section.pl b/cataloguing/value_builder/marc21_linking_section.pl >index e14a977..98aa30f 100644 >--- a/cataloguing/value_builder/marc21_linking_section.pl >+++ b/cataloguing/value_builder/marc21_linking_section.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright Biblibre 2007 - CILEA 2011 > # >diff --git a/cataloguing/value_builder/normarc_field_007.pl b/cataloguing/value_builder/normarc_field_007.pl >index 478df1a..fad54d6 100755 >--- a/cataloguing/value_builder/normarc_field_007.pl >+++ b/cataloguing/value_builder/normarc_field_007.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2009 Magnus Enger Libriotech > # >diff --git a/cataloguing/value_builder/normarc_field_008.pl b/cataloguing/value_builder/normarc_field_008.pl >index d58757b..50e05bc 100755 >--- a/cataloguing/value_builder/normarc_field_008.pl >+++ b/cataloguing/value_builder/normarc_field_008.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2009 Magnus Enger Libriotech > # >diff --git a/cataloguing/value_builder/normarc_leader.pl b/cataloguing/value_builder/normarc_leader.pl >index ae32d09..a5518dd 100755 >--- a/cataloguing/value_builder/normarc_leader.pl >+++ b/cataloguing/value_builder/normarc_leader.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/stocknumber.pl b/cataloguing/value_builder/stocknumber.pl >index 711904f..387b165 100755 >--- a/cataloguing/value_builder/stocknumber.pl >+++ b/cataloguing/value_builder/stocknumber.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # >diff --git a/cataloguing/value_builder/stocknumberAV.pl b/cataloguing/value_builder/stocknumberAV.pl >index 1b580fc..281da1f 100755 >--- a/cataloguing/value_builder/stocknumberAV.pl >+++ b/cataloguing/value_builder/stocknumberAV.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2012 BibLibre SARL > # >diff --git a/cataloguing/value_builder/stocknumberam123.pl b/cataloguing/value_builder/stocknumberam123.pl >index 7c80e60..b263c51 100755 >--- a/cataloguing/value_builder/stocknumberam123.pl >+++ b/cataloguing/value_builder/stocknumberam123.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2010 BibLibre SARL > # >diff --git a/cataloguing/value_builder/unimarc_field_010.pl b/cataloguing/value_builder/unimarc_field_010.pl >index 4e061f8..18496f7 100755 >--- a/cataloguing/value_builder/unimarc_field_010.pl >+++ b/cataloguing/value_builder/unimarc_field_010.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2008 Biblibre SARL >diff --git a/cataloguing/value_builder/unimarc_field_100.pl b/cataloguing/value_builder/unimarc_field_100.pl >index d0eedbf..34a9e0f 100755 >--- a/cataloguing/value_builder/unimarc_field_100.pl >+++ b/cataloguing/value_builder/unimarc_field_100.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/unimarc_field_100_authorities.pl b/cataloguing/value_builder/unimarc_field_100_authorities.pl >index 28bc870..c6e8b2b 100644 >--- a/cataloguing/value_builder/unimarc_field_100_authorities.pl >+++ b/cataloguing/value_builder/unimarc_field_100_authorities.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/cataloguing/value_builder/unimarc_field_105.pl b/cataloguing/value_builder/unimarc_field_105.pl >index 6f68583..265e5b2 100755 >--- a/cataloguing/value_builder/unimarc_field_105.pl >+++ b/cataloguing/value_builder/unimarc_field_105.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/unimarc_field_106.pl b/cataloguing/value_builder/unimarc_field_106.pl >index d6d4907..38a26f7 100755 >--- a/cataloguing/value_builder/unimarc_field_106.pl >+++ b/cataloguing/value_builder/unimarc_field_106.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/unimarc_field_110.pl b/cataloguing/value_builder/unimarc_field_110.pl >index 5a2be80..0cd63f6 100755 >--- a/cataloguing/value_builder/unimarc_field_110.pl >+++ b/cataloguing/value_builder/unimarc_field_110.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/unimarc_field_115a.pl b/cataloguing/value_builder/unimarc_field_115a.pl >index e5470a1..8138652 100755 >--- a/cataloguing/value_builder/unimarc_field_115a.pl >+++ b/cataloguing/value_builder/unimarc_field_115a.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/unimarc_field_115b.pl b/cataloguing/value_builder/unimarc_field_115b.pl >index ae54ae8..bda9563 100755 >--- a/cataloguing/value_builder/unimarc_field_115b.pl >+++ b/cataloguing/value_builder/unimarc_field_115b.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/unimarc_field_116.pl b/cataloguing/value_builder/unimarc_field_116.pl >index ae020e7..87d0e5c 100755 >--- a/cataloguing/value_builder/unimarc_field_116.pl >+++ b/cataloguing/value_builder/unimarc_field_116.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/unimarc_field_117.pl b/cataloguing/value_builder/unimarc_field_117.pl >index 254c859..007e555 100755 >--- a/cataloguing/value_builder/unimarc_field_117.pl >+++ b/cataloguing/value_builder/unimarc_field_117.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/unimarc_field_120.pl b/cataloguing/value_builder/unimarc_field_120.pl >index 702b7d4..24693d4 100755 >--- a/cataloguing/value_builder/unimarc_field_120.pl >+++ b/cataloguing/value_builder/unimarc_field_120.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/unimarc_field_121a.pl b/cataloguing/value_builder/unimarc_field_121a.pl >index 8171921..984b516 100755 >--- a/cataloguing/value_builder/unimarc_field_121a.pl >+++ b/cataloguing/value_builder/unimarc_field_121a.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/unimarc_field_121b.pl b/cataloguing/value_builder/unimarc_field_121b.pl >index f979acc..4bf4caa 100755 >--- a/cataloguing/value_builder/unimarc_field_121b.pl >+++ b/cataloguing/value_builder/unimarc_field_121b.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/unimarc_field_122.pl b/cataloguing/value_builder/unimarc_field_122.pl >index 4dbca39..ac1226d 100755 >--- a/cataloguing/value_builder/unimarc_field_122.pl >+++ b/cataloguing/value_builder/unimarc_field_122.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/unimarc_field_123a.pl b/cataloguing/value_builder/unimarc_field_123a.pl >index 9a43344..a09ffb8 100755 >--- a/cataloguing/value_builder/unimarc_field_123a.pl >+++ b/cataloguing/value_builder/unimarc_field_123a.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/unimarc_field_123d.pl b/cataloguing/value_builder/unimarc_field_123d.pl >index 335315b..6e6917d 100755 >--- a/cataloguing/value_builder/unimarc_field_123d.pl >+++ b/cataloguing/value_builder/unimarc_field_123d.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/unimarc_field_123e.pl b/cataloguing/value_builder/unimarc_field_123e.pl >index 335315b..6e6917d 100755 >--- a/cataloguing/value_builder/unimarc_field_123e.pl >+++ b/cataloguing/value_builder/unimarc_field_123e.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/unimarc_field_123f.pl b/cataloguing/value_builder/unimarc_field_123f.pl >index 5cb8d8d..8a913f4 100755 >--- a/cataloguing/value_builder/unimarc_field_123f.pl >+++ b/cataloguing/value_builder/unimarc_field_123f.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/unimarc_field_123g.pl b/cataloguing/value_builder/unimarc_field_123g.pl >index 335315b..6e6917d 100755 >--- a/cataloguing/value_builder/unimarc_field_123g.pl >+++ b/cataloguing/value_builder/unimarc_field_123g.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/unimarc_field_123i.pl b/cataloguing/value_builder/unimarc_field_123i.pl >index 52b894e..0f724f7 100755 >--- a/cataloguing/value_builder/unimarc_field_123i.pl >+++ b/cataloguing/value_builder/unimarc_field_123i.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/unimarc_field_123j.pl b/cataloguing/value_builder/unimarc_field_123j.pl >index c0193a0..e8348c9 100755 >--- a/cataloguing/value_builder/unimarc_field_123j.pl >+++ b/cataloguing/value_builder/unimarc_field_123j.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/unimarc_field_124.pl b/cataloguing/value_builder/unimarc_field_124.pl >index a2ddad9..879b92c 100755 >--- a/cataloguing/value_builder/unimarc_field_124.pl >+++ b/cataloguing/value_builder/unimarc_field_124.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/unimarc_field_124a.pl b/cataloguing/value_builder/unimarc_field_124a.pl >index 21c8c40..77ae1c7 100755 >--- a/cataloguing/value_builder/unimarc_field_124a.pl >+++ b/cataloguing/value_builder/unimarc_field_124a.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/unimarc_field_124b.pl b/cataloguing/value_builder/unimarc_field_124b.pl >index 89696c4..2fe473c 100755 >--- a/cataloguing/value_builder/unimarc_field_124b.pl >+++ b/cataloguing/value_builder/unimarc_field_124b.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/unimarc_field_124c.pl b/cataloguing/value_builder/unimarc_field_124c.pl >index 7615e0c..7130620 100755 >--- a/cataloguing/value_builder/unimarc_field_124c.pl >+++ b/cataloguing/value_builder/unimarc_field_124c.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/unimarc_field_124d.pl b/cataloguing/value_builder/unimarc_field_124d.pl >index a5be87e..ec28be5 100755 >--- a/cataloguing/value_builder/unimarc_field_124d.pl >+++ b/cataloguing/value_builder/unimarc_field_124d.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/unimarc_field_124e.pl b/cataloguing/value_builder/unimarc_field_124e.pl >index 8ed9253..4bff972 100755 >--- a/cataloguing/value_builder/unimarc_field_124e.pl >+++ b/cataloguing/value_builder/unimarc_field_124e.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/unimarc_field_124f.pl b/cataloguing/value_builder/unimarc_field_124f.pl >index 02063ca..840eb10 100755 >--- a/cataloguing/value_builder/unimarc_field_124f.pl >+++ b/cataloguing/value_builder/unimarc_field_124f.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/unimarc_field_124g.pl b/cataloguing/value_builder/unimarc_field_124g.pl >index 4104976..a37a51f 100755 >--- a/cataloguing/value_builder/unimarc_field_124g.pl >+++ b/cataloguing/value_builder/unimarc_field_124g.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/unimarc_field_125.pl b/cataloguing/value_builder/unimarc_field_125.pl >index 89e6e5b..40a4aef 100755 >--- a/cataloguing/value_builder/unimarc_field_125.pl >+++ b/cataloguing/value_builder/unimarc_field_125.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/unimarc_field_125a.pl b/cataloguing/value_builder/unimarc_field_125a.pl >index d4a31d2..d81356e 100755 >--- a/cataloguing/value_builder/unimarc_field_125a.pl >+++ b/cataloguing/value_builder/unimarc_field_125a.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/unimarc_field_125b.pl b/cataloguing/value_builder/unimarc_field_125b.pl >index 2a86b3d..7effcc8 100755 >--- a/cataloguing/value_builder/unimarc_field_125b.pl >+++ b/cataloguing/value_builder/unimarc_field_125b.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/unimarc_field_126.pl b/cataloguing/value_builder/unimarc_field_126.pl >index a2ddad9..879b92c 100755 >--- a/cataloguing/value_builder/unimarc_field_126.pl >+++ b/cataloguing/value_builder/unimarc_field_126.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/unimarc_field_126a.pl b/cataloguing/value_builder/unimarc_field_126a.pl >index 2921068..2a2fdd6 100755 >--- a/cataloguing/value_builder/unimarc_field_126a.pl >+++ b/cataloguing/value_builder/unimarc_field_126a.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/unimarc_field_126b.pl b/cataloguing/value_builder/unimarc_field_126b.pl >index 7fc32e5..d948168 100755 >--- a/cataloguing/value_builder/unimarc_field_126b.pl >+++ b/cataloguing/value_builder/unimarc_field_126b.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/unimarc_field_127.pl b/cataloguing/value_builder/unimarc_field_127.pl >index 3ef0a9a..6fe1fa0 100755 >--- a/cataloguing/value_builder/unimarc_field_127.pl >+++ b/cataloguing/value_builder/unimarc_field_127.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/unimarc_field_128a.pl b/cataloguing/value_builder/unimarc_field_128a.pl >index 936ad20..3a66442 100755 >--- a/cataloguing/value_builder/unimarc_field_128a.pl >+++ b/cataloguing/value_builder/unimarc_field_128a.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/unimarc_field_128b.pl b/cataloguing/value_builder/unimarc_field_128b.pl >index 34d435f..a843e5e 100755 >--- a/cataloguing/value_builder/unimarc_field_128b.pl >+++ b/cataloguing/value_builder/unimarc_field_128b.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/unimarc_field_128c.pl b/cataloguing/value_builder/unimarc_field_128c.pl >index 3b394aa..3973a7a 100755 >--- a/cataloguing/value_builder/unimarc_field_128c.pl >+++ b/cataloguing/value_builder/unimarc_field_128c.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/unimarc_field_130.pl b/cataloguing/value_builder/unimarc_field_130.pl >index f0a9cff..19bbf21 100755 >--- a/cataloguing/value_builder/unimarc_field_130.pl >+++ b/cataloguing/value_builder/unimarc_field_130.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/unimarc_field_135a.pl b/cataloguing/value_builder/unimarc_field_135a.pl >index 5809732..8d655c8 100755 >--- a/cataloguing/value_builder/unimarc_field_135a.pl >+++ b/cataloguing/value_builder/unimarc_field_135a.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/unimarc_field_140.pl b/cataloguing/value_builder/unimarc_field_140.pl >index cf0e469..ae3f5ed 100755 >--- a/cataloguing/value_builder/unimarc_field_140.pl >+++ b/cataloguing/value_builder/unimarc_field_140.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/unimarc_field_141.pl b/cataloguing/value_builder/unimarc_field_141.pl >index 9691b36..a39bcb1 100755 >--- a/cataloguing/value_builder/unimarc_field_141.pl >+++ b/cataloguing/value_builder/unimarc_field_141.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/unimarc_field_210c.pl b/cataloguing/value_builder/unimarc_field_210c.pl >index 67f4ab6..b2cb8c3 100755 >--- a/cataloguing/value_builder/unimarc_field_210c.pl >+++ b/cataloguing/value_builder/unimarc_field_210c.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/unimarc_field_210c_bis.pl b/cataloguing/value_builder/unimarc_field_210c_bis.pl >index e7d0903..0eb2824 100755 >--- a/cataloguing/value_builder/unimarc_field_210c_bis.pl >+++ b/cataloguing/value_builder/unimarc_field_210c_bis.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # >diff --git a/cataloguing/value_builder/unimarc_field_225a.pl b/cataloguing/value_builder/unimarc_field_225a.pl >index 22e47eb..dd84b6b 100755 >--- a/cataloguing/value_builder/unimarc_field_225a.pl >+++ b/cataloguing/value_builder/unimarc_field_225a.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/value_builder/unimarc_field_4XX.pl b/cataloguing/value_builder/unimarc_field_4XX.pl >index 3cacb51..66e9f12 100755 >--- a/cataloguing/value_builder/unimarc_field_4XX.pl >+++ b/cataloguing/value_builder/unimarc_field_4XX.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright Biblibre 2007 > # >diff --git a/cataloguing/value_builder/unimarc_field_686a.pl b/cataloguing/value_builder/unimarc_field_686a.pl >index 714229c..4223a4d 100755 >--- a/cataloguing/value_builder/unimarc_field_686a.pl >+++ b/cataloguing/value_builder/unimarc_field_686a.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # >diff --git a/cataloguing/value_builder/unimarc_field_700-4.pl b/cataloguing/value_builder/unimarc_field_700-4.pl >index 3facd0c..339deca 100755 >--- a/cataloguing/value_builder/unimarc_field_700-4.pl >+++ b/cataloguing/value_builder/unimarc_field_700-4.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # written 10/5/2002 by Paul > >diff --git a/cataloguing/value_builder/unimarc_leader.pl b/cataloguing/value_builder/unimarc_leader.pl >index 4dc87ac..f57f407 100755 >--- a/cataloguing/value_builder/unimarc_leader.pl >+++ b/cataloguing/value_builder/unimarc_leader.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/cataloguing/ysearch.pl b/cataloguing/ysearch.pl >index 854ef7a..ffc2401 100755 >--- a/cataloguing/ysearch.pl >+++ b/cataloguing/ysearch.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This software is placed under the gnu General Public License, v2 (http://www.gnu.org/licenses/gpl.html) > >diff --git a/cataloguing/z3950_auth_search.pl b/cataloguing/z3950_auth_search.pl >index 8ea4f41..eb2101d 100755 >--- a/cataloguing/z3950_auth_search.pl >+++ b/cataloguing/z3950_auth_search.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/cataloguing/z3950_search.pl b/cataloguing/z3950_search.pl >index b5c08a3..dffd976 100755 >--- a/cataloguing/z3950_search.pl >+++ b/cataloguing/z3950_search.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This is a completely new Z3950 clients search using async ZOOM -TG 02/11/06 > # Copyright 2000-2002 Katipo Communications >diff --git a/changelanguage.pl b/changelanguage.pl >index a53ade8..4b9cb2a 100755 >--- a/changelanguage.pl >+++ b/changelanguage.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/circ/add_message.pl b/circ/add_message.pl >index 3506c9b..d63410c 100755 >--- a/circ/add_message.pl >+++ b/circ/add_message.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2009 PTFS Inc. > # >diff --git a/circ/bookcount.pl b/circ/bookcount.pl >index eeff50e..54cef01 100755 >--- a/circ/bookcount.pl >+++ b/circ/bookcount.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > #written 7/3/2002 by Finlay > #script to display reports >diff --git a/circ/branchoverdues.pl b/circ/branchoverdues.pl >index 3698114..eb1a1f6 100755 >--- a/circ/branchoverdues.pl >+++ b/circ/branchoverdues.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # > # This file is part of Koha. >diff --git a/circ/branchtransfers.pl b/circ/branchtransfers.pl >index 2c8612c..388269c 100755 >--- a/circ/branchtransfers.pl >+++ b/circ/branchtransfers.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > #script to execute branch transfers of books > >diff --git a/circ/circulation-home.pl b/circ/circulation-home.pl >index bbb715b..eeb33bb 100755 >--- a/circ/circulation-home.pl >+++ b/circ/circulation-home.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/circ/circulation.pl b/circ/circulation.pl >index 22c5e24..20a4ceb 100755 >--- a/circ/circulation.pl >+++ b/circ/circulation.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # script to execute issuing of books > >diff --git a/circ/del_message.pl b/circ/del_message.pl >index c04ff57..8ac7762 100755 >--- a/circ/del_message.pl >+++ b/circ/del_message.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2009 PTFS Inc. > # >diff --git a/circ/hold-transfer-slip.pl b/circ/hold-transfer-slip.pl >index db0869c..ddae124 100755 >--- a/circ/hold-transfer-slip.pl >+++ b/circ/hold-transfer-slip.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2008 LibLime >diff --git a/circ/offline-mf.pl b/circ/offline-mf.pl >index 8cf93b1..bbc0412 100755 >--- a/circ/offline-mf.pl >+++ b/circ/offline-mf.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2013 C & P Bibliography Services > # This file is part of Koha. >diff --git a/circ/offline.pl b/circ/offline.pl >index b7757e2..b327ac7 100755 >--- a/circ/offline.pl >+++ b/circ/offline.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2013 C & P Bibliography Services > # This file is part of Koha. >diff --git a/circ/overdue.pl b/circ/overdue.pl >index a0c7af7..bec7b37 100755 >--- a/circ/overdue.pl >+++ b/circ/overdue.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/circ/pendingreserves.pl b/circ/pendingreserves.pl >index f964074..911d3cb 100755 >--- a/circ/pendingreserves.pl >+++ b/circ/pendingreserves.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/circ/renew.pl b/circ/renew.pl >index 180c881..e49424f 100755 >--- a/circ/renew.pl >+++ b/circ/renew.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2013 ByWater Solutions > # >diff --git a/circ/reserveratios.pl b/circ/reserveratios.pl >index c0e0062..f94089c 100755 >--- a/circ/reserveratios.pl >+++ b/circ/reserveratios.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/circ/returns.pl b/circ/returns.pl >index a7e9c6e..e2f6bf5 100755 >--- a/circ/returns.pl >+++ b/circ/returns.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # 2006 SAN-OP >diff --git a/circ/selectbranchprinter.pl b/circ/selectbranchprinter.pl >index cfabb71..cfaee98 100755 >--- a/circ/selectbranchprinter.pl >+++ b/circ/selectbranchprinter.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # >diff --git a/circ/stats.pl b/circ/stats.pl >index 6db5632..29d3070 100755 >--- a/circ/stats.pl >+++ b/circ/stats.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > #written 14/1/2000 >diff --git a/circ/transfer-slip.pl b/circ/transfer-slip.pl >index 2bd1208..b42ac11 100755 >--- a/circ/transfer-slip.pl >+++ b/circ/transfer-slip.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2012 Koha >diff --git a/circ/transferstoreceive.pl b/circ/transferstoreceive.pl >index cf48c3e..db31c7b 100755 >--- a/circ/transferstoreceive.pl >+++ b/circ/transferstoreceive.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/circ/view_holdsqueue.pl b/circ/view_holdsqueue.pl >index cff29c7..13cca90 100755 >--- a/circ/view_holdsqueue.pl >+++ b/circ/view_holdsqueue.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/circ/waitingreserves.pl b/circ/waitingreserves.pl >index 502aafd..0b3acaa 100755 >--- a/circ/waitingreserves.pl >+++ b/circ/waitingreserves.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # parts copyright 2010 BibLibre >diff --git a/circ/ypattrodue-attr-search-authvalue.pl b/circ/ypattrodue-attr-search-authvalue.pl >index 091ce5f..a1abf03 100755 >--- a/circ/ypattrodue-attr-search-authvalue.pl >+++ b/circ/ypattrodue-attr-search-authvalue.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This software is placed under the gnu General Public License, v2 (http://www.gnu.org/licenses/gpl.html) > >diff --git a/circ/ysearch.pl b/circ/ysearch.pl >index 4ac19f5..63f9d58 100755 >--- a/circ/ysearch.pl >+++ b/circ/ysearch.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This software is placed under the gnu General Public License, v2 (http://www.gnu.org/licenses/gpl.html) > >diff --git a/course_reserves/add_items.pl b/course_reserves/add_items.pl >index ecae625..7366a26 100755 >--- a/course_reserves/add_items.pl >+++ b/course_reserves/add_items.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # > # Copyright 2012 Bywater Solutions >diff --git a/course_reserves/course-details.pl b/course_reserves/course-details.pl >index b82df5b..4c95028 100755 >--- a/course_reserves/course-details.pl >+++ b/course_reserves/course-details.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # > # Copyright 2012 Bywater Solutions >diff --git a/course_reserves/course-reserves.pl b/course_reserves/course-reserves.pl >index 4ae6c9b..6762178 100755 >--- a/course_reserves/course-reserves.pl >+++ b/course_reserves/course-reserves.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # > # Copyright 2012 Bywater Solutions >diff --git a/course_reserves/course.pl b/course_reserves/course.pl >index e87083f..74b1be8 100755 >--- a/course_reserves/course.pl >+++ b/course_reserves/course.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # > # Copyright 2012 Bywater Solutions >diff --git a/course_reserves/mod_course.pl b/course_reserves/mod_course.pl >index e94b4a8..dd517ae 100755 >--- a/course_reserves/mod_course.pl >+++ b/course_reserves/mod_course.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2012 ByWater Solutions > # >diff --git a/docs/CAS/CASProxy/examples/koha_webservice.pl b/docs/CAS/CASProxy/examples/koha_webservice.pl >index 8b5144c..d893870 100755 >--- a/docs/CAS/CASProxy/examples/koha_webservice.pl >+++ b/docs/CAS/CASProxy/examples/koha_webservice.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2009 SARL BibLibre > # >diff --git a/docs/CAS/CASProxy/examples/proxy_cas.pl b/docs/CAS/CASProxy/examples/proxy_cas.pl >index 71630c3..f5b9a6d 100755 >--- a/docs/CAS/CASProxy/examples/proxy_cas.pl >+++ b/docs/CAS/CASProxy/examples/proxy_cas.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2009 SARL BibLibre > # >diff --git a/docs/CAS/CASProxy/examples/proxy_cas_callback.pl b/docs/CAS/CASProxy/examples/proxy_cas_callback.pl >index 31f39c2..a2de885 100755 >--- a/docs/CAS/CASProxy/examples/proxy_cas_callback.pl >+++ b/docs/CAS/CASProxy/examples/proxy_cas_callback.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2009 SARL BibLibre > # >diff --git a/docs/CAS/CASProxy/examples/proxy_cas_data.pl b/docs/CAS/CASProxy/examples/proxy_cas_data.pl >index 5afd7f1..77c8098 100755 >--- a/docs/CAS/CASProxy/examples/proxy_cas_data.pl >+++ b/docs/CAS/CASProxy/examples/proxy_cas_data.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2009 SARL BibLibre > # >diff --git a/edithelp.pl b/edithelp.pl >index 8f56bfc..06f1bd9 100755 >--- a/edithelp.pl >+++ b/edithelp.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2007 Liblime Ltd > # >diff --git a/errors/400.pl b/errors/400.pl >index 23dc5ae..5a35f41 100755 >--- a/errors/400.pl >+++ b/errors/400.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/errors/401.pl b/errors/401.pl >index 88c88d8..29140c7 100755 >--- a/errors/401.pl >+++ b/errors/401.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/errors/402.pl b/errors/402.pl >index 552398b..0db0e2d 100755 >--- a/errors/402.pl >+++ b/errors/402.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/errors/403.pl b/errors/403.pl >index 11918c3..22d93b0 100755 >--- a/errors/403.pl >+++ b/errors/403.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/errors/404.pl b/errors/404.pl >index e7e0071..c18ff1b 100755 >--- a/errors/404.pl >+++ b/errors/404.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/errors/500.pl b/errors/500.pl >index 9fb6e0c..dc5c98b 100755 >--- a/errors/500.pl >+++ b/errors/500.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/fix-perl-path.PL b/fix-perl-path.PL >index f810840..fbaec77 100644 >--- a/fix-perl-path.PL >+++ b/fix-perl-path.PL >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # This file is part of Koha. > # > # Koha is free software; you can redistribute it and/or modify it under the >diff --git a/help.pl b/help.pl >index 7d4385d..1a19aaf 100755 >--- a/help.pl >+++ b/help.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2010 Koha Development team > # >diff --git a/installer/data/mysql/atomicupdate/0001-bug_2929-permit_to_define_fine_days_in_issuing_rules.pl b/installer/data/mysql/atomicupdate/0001-bug_2929-permit_to_define_fine_days_in_issuing_rules.pl >index db92876..631d960 100755 >--- a/installer/data/mysql/atomicupdate/0001-bug_2929-permit_to_define_fine_days_in_issuing_rules.pl >+++ b/installer/data/mysql/atomicupdate/0001-bug_2929-permit_to_define_fine_days_in_issuing_rules.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > use strict; > use warnings; > use C4::Context; >diff --git a/installer/data/mysql/atomicupdate/0004-Add_Some_Missing_fields_to_suggestions.pl b/installer/data/mysql/atomicupdate/0004-Add_Some_Missing_fields_to_suggestions.pl >index 8e3edad..24e8bc1 100755 >--- a/installer/data/mysql/atomicupdate/0004-Add_Some_Missing_fields_to_suggestions.pl >+++ b/installer/data/mysql/atomicupdate/0004-Add_Some_Missing_fields_to_suggestions.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > use strict; > use warnings; > use C4::Context; >diff --git a/installer/data/mysql/atomicupdate/0005-Add_CAS_Configuration.pl b/installer/data/mysql/atomicupdate/0005-Add_CAS_Configuration.pl >index a829a55..214d0bf 100755 >--- a/installer/data/mysql/atomicupdate/0005-Add_CAS_Configuration.pl >+++ b/installer/data/mysql/atomicupdate/0005-Add_CAS_Configuration.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > use strict; > use warnings; > use C4::Context; >diff --git a/installer/data/mysql/atomicupdate/0007-Opac-search-history.pl b/installer/data/mysql/atomicupdate/0007-Opac-search-history.pl >index 1af065d..12e0f02 100755 >--- a/installer/data/mysql/atomicupdate/0007-Opac-search-history.pl >+++ b/installer/data/mysql/atomicupdate/0007-Opac-search-history.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > use strict; > use warnings; > use C4::Context; >diff --git a/installer/data/mysql/atomicupdate/0008-opac-description-for-authorised-values.pl b/installer/data/mysql/atomicupdate/0008-opac-description-for-authorised-values.pl >index 057035f..5c61db0 100755 >--- a/installer/data/mysql/atomicupdate/0008-opac-description-for-authorised-values.pl >+++ b/installer/data/mysql/atomicupdate/0008-opac-description-for-authorised-values.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > use strict; > use warnings; > use C4::Context; >diff --git a/installer/data/mysql/atomicupdate/0009-patron-attr-display-checkout.pl b/installer/data/mysql/atomicupdate/0009-patron-attr-display-checkout.pl >index bfc2d74..4100dac 100644 >--- a/installer/data/mysql/atomicupdate/0009-patron-attr-display-checkout.pl >+++ b/installer/data/mysql/atomicupdate/0009-patron-attr-display-checkout.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > use strict; > use warnings; > use C4::Context; >diff --git a/installer/data/mysql/atomicupdate/Bug-4246-Talking-Tech-itiva-phone-notifications.pl b/installer/data/mysql/atomicupdate/Bug-4246-Talking-Tech-itiva-phone-notifications.pl >index 09d017f..e3c8374 100644 >--- a/installer/data/mysql/atomicupdate/Bug-4246-Talking-Tech-itiva-phone-notifications.pl >+++ b/installer/data/mysql/atomicupdate/Bug-4246-Talking-Tech-itiva-phone-notifications.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > use strict; > use warnings; > use C4::Context; >diff --git a/installer/data/mysql/atomicupdate/bug_6843_Renew_membership_from_expiry_or_current_date.pl b/installer/data/mysql/atomicupdate/bug_6843_Renew_membership_from_expiry_or_current_date.pl >index 1c98d6a..95716f4 100755 >--- a/installer/data/mysql/atomicupdate/bug_6843_Renew_membership_from_expiry_or_current_date.pl >+++ b/installer/data/mysql/atomicupdate/bug_6843_Renew_membership_from_expiry_or_current_date.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > use strict; > use warnings; > use C4::Context; >diff --git a/installer/data/mysql/atomicupdate/bug_7144-add-returnbranch-to-branch-item-issuing-rules.pl b/installer/data/mysql/atomicupdate/bug_7144-add-returnbranch-to-branch-item-issuing-rules.pl >index 2d1114e..e1c0b30 100644 >--- a/installer/data/mysql/atomicupdate/bug_7144-add-returnbranch-to-branch-item-issuing-rules.pl >+++ b/installer/data/mysql/atomicupdate/bug_7144-add-returnbranch-to-branch-item-issuing-rules.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > use strict; > use warnings; > use C4::Context; >diff --git a/installer/data/mysql/atomicupdate/importauthorities.pl b/installer/data/mysql/atomicupdate/importauthorities.pl >index 679235e..994668d 100755 >--- a/installer/data/mysql/atomicupdate/importauthorities.pl >+++ b/installer/data/mysql/atomicupdate/importauthorities.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > use strict; > use warnings; >diff --git a/installer/data/mysql/atomicupdate/issuedate_times.pl b/installer/data/mysql/atomicupdate/issuedate_times.pl >index 864109a..b948039 100644 >--- a/installer/data/mysql/atomicupdate/issuedate_times.pl >+++ b/installer/data/mysql/atomicupdate/issuedate_times.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > use strict; > use warnings; >diff --git a/installer/data/mysql/atomicupdate/local_cover_images.pl b/installer/data/mysql/atomicupdate/local_cover_images.pl >index af07563..ad60b3e 100755 >--- a/installer/data/mysql/atomicupdate/local_cover_images.pl >+++ b/installer/data/mysql/atomicupdate/local_cover_images.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > use strict; > use warnings; > use C4::Context; >diff --git a/installer/data/mysql/atomicupdate/subscription_add_enddate.pl b/installer/data/mysql/atomicupdate/subscription_add_enddate.pl >index b8074b1..c67a7af 100755 >--- a/installer/data/mysql/atomicupdate/subscription_add_enddate.pl >+++ b/installer/data/mysql/atomicupdate/subscription_add_enddate.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > #use strict; > #use warnings; FIXME - Bug 2505 > use C4::Context; >diff --git a/installer/data/mysql/backfill_statistics.pl b/installer/data/mysql/backfill_statistics.pl >index 361f544..9905ed9 100755 >--- a/installer/data/mysql/backfill_statistics.pl >+++ b/installer/data/mysql/backfill_statistics.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Part of the Koha Library Software www.koha-community.org > # Licensed under the GPL. >diff --git a/installer/data/mysql/labels_upgrade.pl b/installer/data/mysql/labels_upgrade.pl >index 4fb7829..5f27ffe 100755 >--- a/installer/data/mysql/labels_upgrade.pl >+++ b/installer/data/mysql/labels_upgrade.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > # Copyright 2009 Foundations Bible College. > # >diff --git a/installer/data/mysql/patroncards_upgrade.pl b/installer/data/mysql/patroncards_upgrade.pl >index a9f4ce5..e2c49b9 100755 >--- a/installer/data/mysql/patroncards_upgrade.pl >+++ b/installer/data/mysql/patroncards_upgrade.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > # Copyright 2009 Foundations Bible College. > # >diff --git a/installer/data/mysql/update22to30.pl b/installer/data/mysql/update22to30.pl >index f10ace9..4e322c0 100755 >--- a/installer/data/mysql/update22to30.pl >+++ b/installer/data/mysql/update22to30.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Database Updater >diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl >index 951060f..638b341 100755 >--- a/installer/data/mysql/updatedatabase.pl >+++ b/installer/data/mysql/updatedatabase.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Database Updater > # This script checks for required updates to the database. >diff --git a/installer/externalmodules.pl b/installer/externalmodules.pl >index 42eb4b7..1b0d089 100755 >--- a/installer/externalmodules.pl >+++ b/installer/externalmodules.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This Script can be used to provide a list of ALL external modules ***used*** (uncommented) in Koha. > # It provides you not only the list of modules BUT ALSO the files that uses those modules. >diff --git a/installer/html-template-to-template-toolkit.pl b/installer/html-template-to-template-toolkit.pl >index 5f0e0ac..ea9067a 100755 >--- a/installer/html-template-to-template-toolkit.pl >+++ b/installer/html-template-to-template-toolkit.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > use strict; > use warnings; >diff --git a/installer/install.pl b/installer/install.pl >index 46f3e3a..3ec3830 100755 >--- a/installer/install.pl >+++ b/installer/install.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > use strict; > use warnings; >diff --git a/koha-tmpl/intranet-tmpl/lib/tiny_mce/tiny_mce_gzip.pl b/koha-tmpl/intranet-tmpl/lib/tiny_mce/tiny_mce_gzip.pl >index eaec56f..565a9ee 100644 >--- a/koha-tmpl/intranet-tmpl/lib/tiny_mce/tiny_mce_gzip.pl >+++ b/koha-tmpl/intranet-tmpl/lib/tiny_mce/tiny_mce_gzip.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > use strict; > use warnings FATAL => 'all', NONFATAL => 'redefine'; > >diff --git a/koha_perl_deps.pl b/koha_perl_deps.pl >index 54e6de0..924bf16 100755 >--- a/koha_perl_deps.pl >+++ b/koha_perl_deps.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > use Getopt::Long; > use Pod::Usage; >diff --git a/labels/label-create-csv.pl b/labels/label-create-csv.pl >index 3c23021..5911ac0 100755 >--- a/labels/label-create-csv.pl >+++ b/labels/label-create-csv.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright Koha development team 2011 > # >diff --git a/labels/label-create-pdf.pl b/labels/label-create-pdf.pl >index 9c75bf2..088be81 100755 >--- a/labels/label-create-pdf.pl >+++ b/labels/label-create-pdf.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright Chris Nighswonger 2009 > # >diff --git a/labels/label-create-xml.pl b/labels/label-create-xml.pl >index 3b568c7..aca0977 100755 >--- a/labels/label-create-xml.pl >+++ b/labels/label-create-xml.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright Koha development team 2011 > # >diff --git a/labels/label-edit-batch.pl b/labels/label-edit-batch.pl >index 60d7b43..bea23e8 100755 >--- a/labels/label-edit-batch.pl >+++ b/labels/label-edit-batch.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > # Copyright 2006 Katipo Communications. > # Parts Copyright 2009 Foundations Bible College. >diff --git a/labels/label-edit-layout.pl b/labels/label-edit-layout.pl >index fe38903..434ad84 100755 >--- a/labels/label-edit-layout.pl >+++ b/labels/label-edit-layout.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > # Copyright 2006 Katipo Communications. > # Parts Copyright 2009 Foundations Bible College. >diff --git a/labels/label-edit-profile.pl b/labels/label-edit-profile.pl >index df2e73b..615be04 100755 >--- a/labels/label-edit-profile.pl >+++ b/labels/label-edit-profile.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > # Copyright 2006 Katipo Communications. > # Parts Copyright 2009 Foundations Bible College. >diff --git a/labels/label-edit-template.pl b/labels/label-edit-template.pl >index 241f9fc..ff51807 100755 >--- a/labels/label-edit-template.pl >+++ b/labels/label-edit-template.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > # Copyright 2006 Katipo Communications. > # Parts Copyright 2009 Foundations Bible College. >diff --git a/labels/label-home.pl b/labels/label-home.pl >index 946a6eb..01102cb 100755 >--- a/labels/label-home.pl >+++ b/labels/label-home.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > # Copyright 2006 Katipo Communications. > # Parts Copyright 2009 Foundations Bible College. >diff --git a/labels/label-item-search.pl b/labels/label-item-search.pl >index eb6defe..99effc9 100755 >--- a/labels/label-item-search.pl >+++ b/labels/label-item-search.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > # Copyright 2000-2002 Katipo Communications > # >diff --git a/labels/label-manage.pl b/labels/label-manage.pl >index 4ee8779..508f004 100755 >--- a/labels/label-manage.pl >+++ b/labels/label-manage.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > # Copyright 2006 Katipo Communications. > # Parts Copyright 2009 Foundations Bible College. >diff --git a/labels/label-print.pl b/labels/label-print.pl >index b898d83..854db41 100755 >--- a/labels/label-print.pl >+++ b/labels/label-print.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > # Copyright 2009 Foundations Bible College. > # >diff --git a/labels/spinelabel-home.pl b/labels/spinelabel-home.pl >index b24441b..2b49085 100755 >--- a/labels/spinelabel-home.pl >+++ b/labels/spinelabel-home.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/labels/spinelabel-print.pl b/labels/spinelabel-print.pl >index 31aed54..cd3147b 100755 >--- a/labels/spinelabel-print.pl >+++ b/labels/spinelabel-print.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/mainpage.pl b/mainpage.pl >index 09450f6..72030bb 100755 >--- a/mainpage.pl >+++ b/mainpage.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/members/boraccount.pl b/members/boraccount.pl >index b9eaad6..e6eaf67 100755 >--- a/members/boraccount.pl >+++ b/members/boraccount.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > #writen 11/1/2000 by chris@katipo.oc.nz >diff --git a/members/default_messageprefs.pl b/members/default_messageprefs.pl >index 2d70715..84787c3 100755 >--- a/members/default_messageprefs.pl >+++ b/members/default_messageprefs.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2009 LibLime > # >diff --git a/members/deletemem.pl b/members/deletemem.pl >index bad636c..46daf50 100755 >--- a/members/deletemem.pl >+++ b/members/deletemem.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > #script to delete items > #written 2/5/00 >diff --git a/members/files.pl b/members/files.pl >index efe4ad4..b71bdfc 100755 >--- a/members/files.pl >+++ b/members/files.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2012 ByWater Solutions > # >diff --git a/members/guarantor_search.pl b/members/guarantor_search.pl >index 6e4e6ab..bbb9dcc 100755 >--- a/members/guarantor_search.pl >+++ b/members/guarantor_search.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/members/mancredit.pl b/members/mancredit.pl >index c6ad4de..c391e06 100755 >--- a/members/mancredit.pl >+++ b/members/mancredit.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > #written 11/1/2000 by chris@katipo.oc.nz > #script to display borrowers account details >diff --git a/members/maninvoice.pl b/members/maninvoice.pl >index 240c680..0862dfd 100755 >--- a/members/maninvoice.pl >+++ b/members/maninvoice.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > #written 11/1/2000 by chris@katipo.oc.nz > #script to display borrowers account details >diff --git a/members/member-flags.pl b/members/member-flags.pl >index 68c52aa..0ce2d08 100755 >--- a/members/member-flags.pl >+++ b/members/member-flags.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # script to edit a member's flags > # Written by Steve Tonnesen >diff --git a/members/member-password.pl b/members/member-password.pl >index 310d641..0ee58c6 100755 >--- a/members/member-password.pl >+++ b/members/member-password.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > #script to set the password, and optionally a userid, for a borrower > #written 2/5/00 > #by chris@katipo.co.nz >diff --git a/members/member.pl b/members/member.pl >index 191ff44..282c5c4 100755 >--- a/members/member.pl >+++ b/members/member.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > #script to do a borrower enquiry/bring up borrower details etc >diff --git a/members/memberentry.pl b/members/memberentry.pl >index 4638508..266a984 100755 >--- a/members/memberentry.pl >+++ b/members/memberentry.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2006 SAN OUEST PROVENCE et Paul POULAIN > # Copyright 2010 BibLibre >diff --git a/members/members-home.pl b/members/members-home.pl >index 0d0e279..01d8d86 100755 >--- a/members/members-home.pl >+++ b/members/members-home.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Parts Copyright Biblibre 2010 > # This file is part of Koha. >diff --git a/members/members-update-do.pl b/members/members-update-do.pl >index 8408702..f489a62 100755 >--- a/members/members-update-do.pl >+++ b/members/members-update-do.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Parts Copyright Biblibre 2010 > # This file is part of Koha. >diff --git a/members/members-update.pl b/members/members-update.pl >index bed43ac..6981228 100755 >--- a/members/members-update.pl >+++ b/members/members-update.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Parts Copyright Biblibre 2010 > # This file is part of Koha. >diff --git a/members/mod_debarment.pl b/members/mod_debarment.pl >index 98ad5ee..df86f2b 100755 >--- a/members/mod_debarment.pl >+++ b/members/mod_debarment.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/members/moremember.pl b/members/moremember.pl >index 92fe2d9..96f9b9e 100755 >--- a/members/moremember.pl >+++ b/members/moremember.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # Copyright 2010 BibLibre >diff --git a/members/nl-search.pl b/members/nl-search.pl >index 384b1fe..d0e4c35 100755 >--- a/members/nl-search.pl >+++ b/members/nl-search.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2013 Oslo Public Library > # >diff --git a/members/notices.pl b/members/notices.pl >index 113e20c..29497a1 100755 >--- a/members/notices.pl >+++ b/members/notices.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Displays sent notices for a given borrower > >diff --git a/members/patronimage.pl b/members/patronimage.pl >index 4161e97..268c006 100755 >--- a/members/patronimage.pl >+++ b/members/patronimage.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > # Copyright 2008 Foundations Bible College & Seminary Inc. > # >diff --git a/members/pay.pl b/members/pay.pl >index 381cf31..409ca7d 100755 >--- a/members/pay.pl >+++ b/members/pay.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # Copyright 2010 BibLibre >diff --git a/members/paycollect.pl b/members/paycollect.pl >index 692b958..c8590c3 100755 >--- a/members/paycollect.pl >+++ b/members/paycollect.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # Copyright 2009,2010 PTFS Inc. > # Copyright 2011 PTFS-Europe Ltd > # >diff --git a/members/printfeercpt.pl b/members/printfeercpt.pl >index 1a138f8..ea5eddd 100755 >--- a/members/printfeercpt.pl >+++ b/members/printfeercpt.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > #writen 3rd May 2010 by kmkale@anantcorp.com adapted from boraccount.pl by chris@katipo.oc.nz >diff --git a/members/printinvoice.pl b/members/printinvoice.pl >index c53cfaa..3ac160d 100755 >--- a/members/printinvoice.pl >+++ b/members/printinvoice.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > #writen 3rd May 2010 by kmkale@anantcorp.com adapted from boraccount.pl by chris@katipo.oc.nz > #script to print fee receipts >diff --git a/members/printslip.pl b/members/printslip.pl >index 1945802..89eca82 100755 >--- a/members/printslip.pl >+++ b/members/printslip.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # Copyright 2010 BibLibre >diff --git a/members/purchase-suggestions.pl b/members/purchase-suggestions.pl >index 4c58c3e..6bcde9b 100755 >--- a/members/purchase-suggestions.pl >+++ b/members/purchase-suggestions.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/members/readingrec.pl b/members/readingrec.pl >index de2baec..96aa6c5 100755 >--- a/members/readingrec.pl >+++ b/members/readingrec.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # written 27/01/2000 > # script to display borrowers reading record >diff --git a/members/routing-lists.pl b/members/routing-lists.pl >index efd067e..4f59588 100755 >--- a/members/routing-lists.pl >+++ b/members/routing-lists.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2012 Prosentient Systems > # >diff --git a/members/setstatus.pl b/members/setstatus.pl >index 6ec490e..3324cc7 100755 >--- a/members/setstatus.pl >+++ b/members/setstatus.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > #script to set or lift debarred status > #written 2/8/04 >diff --git a/members/statistics.pl b/members/statistics.pl >index de9a6a3..0923435 100755 >--- a/members/statistics.pl >+++ b/members/statistics.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2012 BibLibre > # This file is part of Koha. >diff --git a/members/summary-print.pl b/members/summary-print.pl >index 39897db..4e29300 100755 >--- a/members/summary-print.pl >+++ b/members/summary-print.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/members/update-child.pl b/members/update-child.pl >index 1a320c0..31fddf3 100755 >--- a/members/update-child.pl >+++ b/members/update-child.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # >diff --git a/misc/batchCompareMARCvsFrameworks.pl b/misc/batchCompareMARCvsFrameworks.pl >index 9bbcde4..5c99e71 100755 >--- a/misc/batchCompareMARCvsFrameworks.pl >+++ b/misc/batchCompareMARCvsFrameworks.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # small script that dumps an iso2709 file. > > >diff --git a/misc/batchDeleteUnusedSubfields.pl b/misc/batchDeleteUnusedSubfields.pl >index a0ecb5c..0fd98f0 100755 >--- a/misc/batchDeleteUnusedSubfields.pl >+++ b/misc/batchDeleteUnusedSubfields.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # small script that rebuilds the non-MARC DB > > use strict; >diff --git a/misc/batchImportMARCWithBiblionumbers.pl b/misc/batchImportMARCWithBiblionumbers.pl >index 24692fd..45d382d 100755 >--- a/misc/batchImportMARCWithBiblionumbers.pl >+++ b/misc/batchImportMARCWithBiblionumbers.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # load records that already have biblionumber set into a koha system > # Written by TG on 10/04/2006 > use strict; >diff --git a/misc/batchRebuildBiblioTables.pl b/misc/batchRebuildBiblioTables.pl >index ae4f54e..491febb 100755 >--- a/misc/batchRebuildBiblioTables.pl >+++ b/misc/batchRebuildBiblioTables.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # Small script that rebuilds the non-MARC DB > # Formerly named rebuildnonmarc.pl > >diff --git a/misc/batchRepairMissingBiblionumbers.pl b/misc/batchRepairMissingBiblionumbers.pl >index 3b3c345..b77a053 100755 >--- a/misc/batchRepairMissingBiblionumbers.pl >+++ b/misc/batchRepairMissingBiblionumbers.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # This script finds and fixes missing biblionumber/biblioitemnumber fields in Koha > # Written by TG on 01/10/2005 > # Revised by Joshua Ferraro on 03/31/2006 >diff --git a/misc/batchdeletebiblios.pl b/misc/batchdeletebiblios.pl >index 9bc999a..17a1757 100755 >--- a/misc/batchdeletebiblios.pl >+++ b/misc/batchdeletebiblios.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > use Modern::Perl; > use Getopt::Long; >diff --git a/misc/batchupdateISBNs.pl b/misc/batchupdateISBNs.pl >index 8cc8c6a..f7eefdd 100755 >--- a/misc/batchupdateISBNs.pl >+++ b/misc/batchupdateISBNs.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/misc/bin/connexion_import_daemon.pl b/misc/bin/connexion_import_daemon.pl >index dd83afb..04aee6c 100755 >--- a/misc/bin/connexion_import_daemon.pl >+++ b/misc/bin/connexion_import_daemon.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl -w >+#!/usr/bin/env perl -w > > # Copyright 2012 CatalystIT > # >diff --git a/misc/check_sysprefs.pl b/misc/check_sysprefs.pl >index 91d0075..893b555 100755 >--- a/misc/check_sysprefs.pl >+++ b/misc/check_sysprefs.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # script to test for missing systempreferences > # export KOHA_CONF >diff --git a/misc/commit_file.pl b/misc/commit_file.pl >index bd29df3..0a71b9e 100755 >--- a/misc/commit_file.pl >+++ b/misc/commit_file.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > use strict; > use warnings; >diff --git a/misc/cronjobs/MARC21_parse_test.pl b/misc/cronjobs/MARC21_parse_test.pl >index 3510f2b..e88797d 100755 >--- a/misc/cronjobs/MARC21_parse_test.pl >+++ b/misc/cronjobs/MARC21_parse_test.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > # Copyright 2009 Liblime > # >diff --git a/misc/cronjobs/advance_notices.pl b/misc/cronjobs/advance_notices.pl >index 3bf0a9e..822ae3b 100755 >--- a/misc/cronjobs/advance_notices.pl >+++ b/misc/cronjobs/advance_notices.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2008 LibLime > # >diff --git a/misc/cronjobs/automatic_renewals.pl b/misc/cronjobs/automatic_renewals.pl >index f96e00c..401bb15 100755 >--- a/misc/cronjobs/automatic_renewals.pl >+++ b/misc/cronjobs/automatic_renewals.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/misc/cronjobs/batch_anonymise.pl b/misc/cronjobs/batch_anonymise.pl >index 48a58c6..82eb9ef 100755 >--- a/misc/cronjobs/batch_anonymise.pl >+++ b/misc/cronjobs/batch_anonymise.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2011, ByWater Solutions. > # >diff --git a/misc/cronjobs/build_browser_and_cloud.pl b/misc/cronjobs/build_browser_and_cloud.pl >index d3ead43..9f592f5 100755 >--- a/misc/cronjobs/build_browser_and_cloud.pl >+++ b/misc/cronjobs/build_browser_and_cloud.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # small script that builds the tag cloud > > use strict; >diff --git a/misc/cronjobs/cart_to_shelf.pl b/misc/cronjobs/cart_to_shelf.pl >index d190ca4..4b12bcb 100755 >--- a/misc/cronjobs/cart_to_shelf.pl >+++ b/misc/cronjobs/cart_to_shelf.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > #----------------------------------- > # Copyright 2009 PTFS Inc. > # >diff --git a/misc/cronjobs/check-url-quick.pl b/misc/cronjobs/check-url-quick.pl >index 632a1fe..f3a064e 100755 >--- a/misc/cronjobs/check-url-quick.pl >+++ b/misc/cronjobs/check-url-quick.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2012 Tamil s.a.r.l. > # >diff --git a/misc/cronjobs/check-url.pl b/misc/cronjobs/check-url.pl >index 589a4c5..c9a7fc4 100755 >--- a/misc/cronjobs/check-url.pl >+++ b/misc/cronjobs/check-url.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # > # Copyright 2009 Tamil s.a.r.l. >diff --git a/misc/cronjobs/cleanup_database.pl b/misc/cronjobs/cleanup_database.pl >index 57a5401..5ae0b25 100755 >--- a/misc/cronjobs/cleanup_database.pl >+++ b/misc/cronjobs/cleanup_database.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2009 PTFS, Inc. > # >diff --git a/misc/cronjobs/cloud-kw.pl b/misc/cronjobs/cloud-kw.pl >index 11aaf88..1687e61 100755 >--- a/misc/cronjobs/cloud-kw.pl >+++ b/misc/cronjobs/cloud-kw.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # > # Copyright 2008 Tamil s.a.r.l. >diff --git a/misc/cronjobs/create_koc_db.pl b/misc/cronjobs/create_koc_db.pl >index ccc4a5b..bf76d0d 100755 >--- a/misc/cronjobs/create_koc_db.pl >+++ b/misc/cronjobs/create_koc_db.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # 2008 Kyle Hall <kyle.m.hall@gmail.com> > >diff --git a/misc/cronjobs/delete_expired_opac_registrations.pl b/misc/cronjobs/delete_expired_opac_registrations.pl >index b88b9b6..2f281b1 100755 >--- a/misc/cronjobs/delete_expired_opac_registrations.pl >+++ b/misc/cronjobs/delete_expired_opac_registrations.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2009-2010 Kyle Hall > # >diff --git a/misc/cronjobs/delete_patrons.pl b/misc/cronjobs/delete_patrons.pl >index a1463b1..a724f26 100755 >--- a/misc/cronjobs/delete_patrons.pl >+++ b/misc/cronjobs/delete_patrons.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > use Modern::Perl; > >diff --git a/misc/cronjobs/delete_unverified_opac_registrations.pl b/misc/cronjobs/delete_unverified_opac_registrations.pl >index 6909c70..045a02d 100755 >--- a/misc/cronjobs/delete_unverified_opac_registrations.pl >+++ b/misc/cronjobs/delete_unverified_opac_registrations.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2009-2010 Kyle Hall > # >diff --git a/misc/cronjobs/fines.pl b/misc/cronjobs/fines.pl >index 38c344a..85c1e3b 100755 >--- a/misc/cronjobs/fines.pl >+++ b/misc/cronjobs/fines.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This script loops through each overdue item, determines the fine, > # and updates the total amount of fines due by each user. It relies on >diff --git a/misc/cronjobs/gather_print_notices.pl b/misc/cronjobs/gather_print_notices.pl >index 5903659..9aa505e 100755 >--- a/misc/cronjobs/gather_print_notices.pl >+++ b/misc/cronjobs/gather_print_notices.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl -w >+#!/usr/bin/env perl -w > > # Copyright 2009 Jesse Weaver > # >diff --git a/misc/cronjobs/holds/auto_unsuspend_holds.pl b/misc/cronjobs/holds/auto_unsuspend_holds.pl >index 375c5e7..761e913 100755 >--- a/misc/cronjobs/holds/auto_unsuspend_holds.pl >+++ b/misc/cronjobs/holds/auto_unsuspend_holds.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2009-2010 Kyle Hall > # >diff --git a/misc/cronjobs/holds/build_holds_queue.pl b/misc/cronjobs/holds/build_holds_queue.pl >index 9ec9825..f253dc3 100755 >--- a/misc/cronjobs/holds/build_holds_queue.pl >+++ b/misc/cronjobs/holds/build_holds_queue.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > #----------------------------------- > # Script Name: build_holds_queue.pl > # Description: builds a holds queue in the tmp_holdsqueue table >diff --git a/misc/cronjobs/holds/cancel_expired_holds.pl b/misc/cronjobs/holds/cancel_expired_holds.pl >index 70a2f59..5c7d468 100755 >--- a/misc/cronjobs/holds/cancel_expired_holds.pl >+++ b/misc/cronjobs/holds/cancel_expired_holds.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2009-2010 Kyle Hall > # >diff --git a/misc/cronjobs/import_webservice_batch.pl b/misc/cronjobs/import_webservice_batch.pl >index 3f57779..e9a7d2b 100755 >--- a/misc/cronjobs/import_webservice_batch.pl >+++ b/misc/cronjobs/import_webservice_batch.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl -w >+#!/usr/bin/env perl -w > > # Copyright 2012 CatalystIT > # >diff --git a/misc/cronjobs/j2a.pl b/misc/cronjobs/j2a.pl >index 75d4da1..f4a690c 100755 >--- a/misc/cronjobs/j2a.pl >+++ b/misc/cronjobs/j2a.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # 2011 Liz Rea - Northeast Kansas Library System <lrea@nekls.org> > >diff --git a/misc/cronjobs/longoverdue.pl b/misc/cronjobs/longoverdue.pl >index 193aaaf..3a9cab2 100755 >--- a/misc/cronjobs/longoverdue.pl >+++ b/misc/cronjobs/longoverdue.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > #----------------------------------- > # Copyright 2008 LibLime > # >diff --git a/misc/cronjobs/nl-sync-from-koha.pl b/misc/cronjobs/nl-sync-from-koha.pl >index 81e3218..bbce072 100644 >--- a/misc/cronjobs/nl-sync-from-koha.pl >+++ b/misc/cronjobs/nl-sync-from-koha.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2014 Oslo Public Library > >diff --git a/misc/cronjobs/nl-sync-to-koha.pl b/misc/cronjobs/nl-sync-to-koha.pl >index 84e2378..57b1906 100644 >--- a/misc/cronjobs/nl-sync-to-koha.pl >+++ b/misc/cronjobs/nl-sync-to-koha.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2014 Oslo Public Library > >diff --git a/misc/cronjobs/overdue_notices.pl b/misc/cronjobs/overdue_notices.pl >index 8db858d..ab25058 100755 >--- a/misc/cronjobs/overdue_notices.pl >+++ b/misc/cronjobs/overdue_notices.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2008 Liblime > # Copyright 2010 BibLibre >diff --git a/misc/cronjobs/process_message_queue.pl b/misc/cronjobs/process_message_queue.pl >index c79fea8..628768f 100755 >--- a/misc/cronjobs/process_message_queue.pl >+++ b/misc/cronjobs/process_message_queue.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2008 LibLime > # >diff --git a/misc/cronjobs/purge_suggestions.pl b/misc/cronjobs/purge_suggestions.pl >index d38a7bf..db86c62 100755 >--- a/misc/cronjobs/purge_suggestions.pl >+++ b/misc/cronjobs/purge_suggestions.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl -w >+#!/usr/bin/env perl -w > > # Copyright 2010 Biblibre SARL > # >diff --git a/misc/cronjobs/rss/rss.pl b/misc/cronjobs/rss/rss.pl >index 355d74a..3ca850b 100755 >--- a/misc/cronjobs/rss/rss.pl >+++ b/misc/cronjobs/rss/rss.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This script can be used to generate rss 0.91 files for syndication. > >diff --git a/misc/cronjobs/runreport.pl b/misc/cronjobs/runreport.pl >index 9dc6c58..9bf0979 100755 >--- a/misc/cronjobs/runreport.pl >+++ b/misc/cronjobs/runreport.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > # Copyright 2008 Liblime > # Copyright 2014 Foundations Bible College, Inc. >diff --git a/misc/cronjobs/serialsUpdate.pl b/misc/cronjobs/serialsUpdate.pl >index 6ac5558..d195b22 100755 >--- a/misc/cronjobs/serialsUpdate.pl >+++ b/misc/cronjobs/serialsUpdate.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2008 SARL Biblibre > # >diff --git a/misc/cronjobs/services_throttle.pl b/misc/cronjobs/services_throttle.pl >index cafc517..c10771f 100755 >--- a/misc/cronjobs/services_throttle.pl >+++ b/misc/cronjobs/services_throttle.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # run nightly -- resets the xisbn services throttle > > use strict; >diff --git a/misc/cronjobs/share_usage_with_koha_community.pl b/misc/cronjobs/share_usage_with_koha_community.pl >index b26300b..d15c462 100755 >--- a/misc/cronjobs/share_usage_with_koha_community.pl >+++ b/misc/cronjobs/share_usage_with_koha_community.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > use Modern::Perl; > >diff --git a/misc/cronjobs/social_data/get_report_social_data.pl b/misc/cronjobs/social_data/get_report_social_data.pl >index 89d6b35..ddd1c4a 100644 >--- a/misc/cronjobs/social_data/get_report_social_data.pl >+++ b/misc/cronjobs/social_data/get_report_social_data.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > use Modern::Perl; > use C4::SocialData; >diff --git a/misc/cronjobs/social_data/update_social_data.pl b/misc/cronjobs/social_data/update_social_data.pl >index 53058a7..de4edbb 100644 >--- a/misc/cronjobs/social_data/update_social_data.pl >+++ b/misc/cronjobs/social_data/update_social_data.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > use Modern::Perl; > use C4::Context; >diff --git a/misc/cronjobs/staticfines.pl b/misc/cronjobs/staticfines.pl >index d8d406d..1ba237f 100755 >--- a/misc/cronjobs/staticfines.pl >+++ b/misc/cronjobs/staticfines.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This script loops through each overdue item, determines the fine, > # and updates the total amount of fines due by each user. It relies on >diff --git a/misc/cronjobs/thirdparty/TalkingTech_itiva_inbound.pl b/misc/cronjobs/thirdparty/TalkingTech_itiva_inbound.pl >index 814f10a..865bae8 100755 >--- a/misc/cronjobs/thirdparty/TalkingTech_itiva_inbound.pl >+++ b/misc/cronjobs/thirdparty/TalkingTech_itiva_inbound.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > # Copyright (C) 2011 ByWater Solutions > # >diff --git a/misc/cronjobs/thirdparty/TalkingTech_itiva_outbound.pl b/misc/cronjobs/thirdparty/TalkingTech_itiva_outbound.pl >index d7054c2..2a7ca7f 100755 >--- a/misc/cronjobs/thirdparty/TalkingTech_itiva_outbound.pl >+++ b/misc/cronjobs/thirdparty/TalkingTech_itiva_outbound.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > # Copyright (C) 2011 ByWater Solutions > # >diff --git a/misc/cronjobs/update_totalissues.pl b/misc/cronjobs/update_totalissues.pl >index ba29225..7ce4a16 100755 >--- a/misc/cronjobs/update_totalissues.pl >+++ b/misc/cronjobs/update_totalissues.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2012 C & P Bibliography Services > # >diff --git a/misc/devel/update_dbix_class_files.pl b/misc/devel/update_dbix_class_files.pl >index 9b080e0..70869cb 100755 >--- a/misc/devel/update_dbix_class_files.pl >+++ b/misc/devel/update_dbix_class_files.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/misc/export_borrowers.pl b/misc/export_borrowers.pl >index 7d3ce47..7454d90 100755 >--- a/misc/export_borrowers.pl >+++ b/misc/export_borrowers.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2011 BibLibre > # >diff --git a/misc/exportauth.pl b/misc/exportauth.pl >index d6236d2..6e2e433 100755 >--- a/misc/exportauth.pl >+++ b/misc/exportauth.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > ## This script allows you to export a rel_2_2 bibliographic db in > #MARC21 format from the command line. > # >diff --git a/misc/kohalib.pl b/misc/kohalib.pl >index e0add49..d0aff96 100755 >--- a/misc/kohalib.pl >+++ b/misc/kohalib.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright (C) 2007 LibLime > # >diff --git a/misc/link_bibs_to_authorities.pl b/misc/link_bibs_to_authorities.pl >index 37596c5..9b1aa52 100755 >--- a/misc/link_bibs_to_authorities.pl >+++ b/misc/link_bibs_to_authorities.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > use strict; > use warnings; >diff --git a/misc/load_testing/benchmark_circulation.pl b/misc/load_testing/benchmark_circulation.pl >index 8974edb..260348f 100755 >--- a/misc/load_testing/benchmark_circulation.pl >+++ b/misc/load_testing/benchmark_circulation.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # This script implements a basic benchmarking and regression testing > # utility for Koha > >diff --git a/misc/load_testing/benchmark_staff.pl b/misc/load_testing/benchmark_staff.pl >index 56085c8..d5a4fe9 100644 >--- a/misc/load_testing/benchmark_staff.pl >+++ b/misc/load_testing/benchmark_staff.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # This script implements a basic benchmarking and regression testing > # utility for Koha > >diff --git a/misc/load_testing/benchmark_webservices.pl b/misc/load_testing/benchmark_webservices.pl >index e79067d..94de75e 100755 >--- a/misc/load_testing/benchmark_webservices.pl >+++ b/misc/load_testing/benchmark_webservices.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > use strict; > use warnings; > #Usage: >diff --git a/misc/maintenance/MARC21_utf8_flag_fix.pl b/misc/maintenance/MARC21_utf8_flag_fix.pl >index e7e9156..c477957 100755 >--- a/misc/maintenance/MARC21_utf8_flag_fix.pl >+++ b/misc/maintenance/MARC21_utf8_flag_fix.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > # Copyright 2009 Liblime > # >diff --git a/misc/maintenance/UNIMARC_fix_collectiontitle.pl b/misc/maintenance/UNIMARC_fix_collectiontitle.pl >index d977222..6304645 100755 >--- a/misc/maintenance/UNIMARC_fix_collectiontitle.pl >+++ b/misc/maintenance/UNIMARC_fix_collectiontitle.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > # This script should be used only with UNIMARC flavour > # It is designed to report some missing information from biblio >diff --git a/misc/maintenance/UNIMARC_sync_date_created_with_marc_biblio.pl b/misc/maintenance/UNIMARC_sync_date_created_with_marc_biblio.pl >index 9c3fd01..f25381b 100755 >--- a/misc/maintenance/UNIMARC_sync_date_created_with_marc_biblio.pl >+++ b/misc/maintenance/UNIMARC_sync_date_created_with_marc_biblio.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > # This script should be used only with UNIMARC flavour > # It is designed to report some missing information from biblio >diff --git a/misc/maintenance/cmp_sysprefs.pl b/misc/maintenance/cmp_sysprefs.pl >index 57f2b42..75bb534 100755 >--- a/misc/maintenance/cmp_sysprefs.pl >+++ b/misc/maintenance/cmp_sysprefs.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2013 Rijksmuseum > # >diff --git a/misc/maintenance/fix_accountlines_date.pl b/misc/maintenance/fix_accountlines_date.pl >index 2956f57..149fb6a 100755 >--- a/misc/maintenance/fix_accountlines_date.pl >+++ b/misc/maintenance/fix_accountlines_date.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > # Copyright (C) 2008 LibLime > # >diff --git a/misc/maintenance/fix_accountlines_rmdupfines_bug8253.pl b/misc/maintenance/fix_accountlines_rmdupfines_bug8253.pl >index 36e4623..703cfba 100755 >--- a/misc/maintenance/fix_accountlines_rmdupfines_bug8253.pl >+++ b/misc/maintenance/fix_accountlines_rmdupfines_bug8253.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > # Copyright (C) 2012 ByWater Solutions > # >diff --git a/misc/maintenance/fix_mysql_constraints.pl b/misc/maintenance/fix_mysql_constraints.pl >index 1485140..77f8690 100755 >--- a/misc/maintenance/fix_mysql_constraints.pl >+++ b/misc/maintenance/fix_mysql_constraints.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > # Copyright (C) 2012 Tamil s.a.r.l. > # >diff --git a/misc/maintenance/process_record_through_filter.pl b/misc/maintenance/process_record_through_filter.pl >index 3b3e537..89ca0f3 100755 >--- a/misc/maintenance/process_record_through_filter.pl >+++ b/misc/maintenance/process_record_through_filter.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This script is intended for testing RecordProcessor filters. To use it > # run the script like so: >diff --git a/misc/maintenance/remove_items_from_biblioitems.pl b/misc/maintenance/remove_items_from_biblioitems.pl >index 9f30db0..de9b256 100755 >--- a/misc/maintenance/remove_items_from_biblioitems.pl >+++ b/misc/maintenance/remove_items_from_biblioitems.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2010 BibLibre > # Copyright 2011 Equinox Software, Inc. >diff --git a/misc/maintenance/sanitize_records.pl b/misc/maintenance/sanitize_records.pl >index b9caa4b..8d6446e 100755 >--- a/misc/maintenance/sanitize_records.pl >+++ b/misc/maintenance/sanitize_records.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/misc/maintenance/touch_all_biblios.pl b/misc/maintenance/touch_all_biblios.pl >index 71b0e44..a2cc36b 100755 >--- a/misc/maintenance/touch_all_biblios.pl >+++ b/misc/maintenance/touch_all_biblios.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > # Copyright (C) 2011 ByWater Solutions > # >diff --git a/misc/maintenance/touch_all_items.pl b/misc/maintenance/touch_all_items.pl >index d10d0b2..5134e3b 100755 >--- a/misc/maintenance/touch_all_items.pl >+++ b/misc/maintenance/touch_all_items.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > # Copyright (C) 2011 ByWater Solutions > # >diff --git a/misc/migration_tools/22_to_30/convert_to_utf8.pl b/misc/migration_tools/22_to_30/convert_to_utf8.pl >index fbbff89..78b9758 100755 >--- a/misc/migration_tools/22_to_30/convert_to_utf8.pl >+++ b/misc/migration_tools/22_to_30/convert_to_utf8.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # small script to convert mysql tables to utf-8 > >diff --git a/misc/migration_tools/22_to_30/export_Authorities.pl b/misc/migration_tools/22_to_30/export_Authorities.pl >index aeed3f2..97f6c6c 100755 >--- a/misc/migration_tools/22_to_30/export_Authorities.pl >+++ b/misc/migration_tools/22_to_30/export_Authorities.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > #use strict; > #use warnings; FIXME - Bug 2505 > BEGIN { >diff --git a/misc/migration_tools/22_to_30/export_Authorities_xml.pl b/misc/migration_tools/22_to_30/export_Authorities_xml.pl >index 42d2e5c..63ca11e 100755 >--- a/misc/migration_tools/22_to_30/export_Authorities_xml.pl >+++ b/misc/migration_tools/22_to_30/export_Authorities_xml.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > #use strict; > #use warnings; FIXME - Bug 2505 > BEGIN { >diff --git a/misc/migration_tools/22_to_30/missing090field.pl b/misc/migration_tools/22_to_30/missing090field.pl >index bfa8576..4b85eea 100755 >--- a/misc/migration_tools/22_to_30/missing090field.pl >+++ b/misc/migration_tools/22_to_30/missing090field.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # This script finds and fixes missing 090 fields in Koha for MARC21 > # Written by TG on 01/10/2005 > # Revised by Joshua Ferraro on 03/31/2006 >diff --git a/misc/migration_tools/22_to_30/move_marc_to_authheader.pl b/misc/migration_tools/22_to_30/move_marc_to_authheader.pl >index f5e4b43..ff42626 100755 >--- a/misc/migration_tools/22_to_30/move_marc_to_authheader.pl >+++ b/misc/migration_tools/22_to_30/move_marc_to_authheader.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # script to shift marc to biblioitems > # scraped from updatedatabase for dev week by chris@katipo.co.nz >diff --git a/misc/migration_tools/22_to_30/move_marc_to_biblioitems.pl b/misc/migration_tools/22_to_30/move_marc_to_biblioitems.pl >index 3635dbc..d4544c9 100755 >--- a/misc/migration_tools/22_to_30/move_marc_to_biblioitems.pl >+++ b/misc/migration_tools/22_to_30/move_marc_to_biblioitems.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > #use strict; > #use warnings; FIXME - Bug 2505 > # script to shift marc to biblioitems >diff --git a/misc/migration_tools/22_to_30/rebuild_leader.pl b/misc/migration_tools/22_to_30/rebuild_leader.pl >index ded81b3..5d00d55 100755 >--- a/misc/migration_tools/22_to_30/rebuild_leader.pl >+++ b/misc/migration_tools/22_to_30/rebuild_leader.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # This script finds and fixes missing 090 fields in Koha for MARC21 > # Written by TG on 01/10/2005 > # Revised by Joshua Ferraro on 03/31/2006 >diff --git a/misc/migration_tools/22_to_30/rebuild_unimarc_100.pl b/misc/migration_tools/22_to_30/rebuild_unimarc_100.pl >index 320ced2..7a949cd 100755 >--- a/misc/migration_tools/22_to_30/rebuild_unimarc_100.pl >+++ b/misc/migration_tools/22_to_30/rebuild_unimarc_100.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # This script finds and fixes missing 090 fields in Koha for MARC21 > # Written by TG on 01/10/2005 > # Revised by Joshua Ferraro on 03/31/2006 >diff --git a/misc/migration_tools/buildCOUNTRY.pl b/misc/migration_tools/buildCOUNTRY.pl >index 5cd2da4..199ccef 100755 >--- a/misc/migration_tools/buildCOUNTRY.pl >+++ b/misc/migration_tools/buildCOUNTRY.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # script that rebuild thesaurus from biblio table. > > # delete FROM `marc_subfield_table` WHERE tag = "606" AND subfieldcode = 9; >diff --git a/misc/migration_tools/buildEDITORS.pl b/misc/migration_tools/buildEDITORS.pl >index 0126ae6..9f12ff9 100755 >--- a/misc/migration_tools/buildEDITORS.pl >+++ b/misc/migration_tools/buildEDITORS.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # script that rebuild EDITORS > > use strict; >diff --git a/misc/migration_tools/buildLANG.pl b/misc/migration_tools/buildLANG.pl >index 18c27ac..1f30ca6 100755 >--- a/misc/migration_tools/buildLANG.pl >+++ b/misc/migration_tools/buildLANG.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # script that rebuild thesaurus from biblio table. > > # delete FROM `marc_subfield_table` WHERE tag = "606" AND subfieldcode = 9; >diff --git a/misc/migration_tools/build_oai_sets.pl b/misc/migration_tools/build_oai_sets.pl >index 577c06e..83dffcf 100755 >--- a/misc/migration_tools/build_oai_sets.pl >+++ b/misc/migration_tools/build_oai_sets.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2011 BibLibre > # >diff --git a/misc/migration_tools/bulkmarcimport.pl b/misc/migration_tools/bulkmarcimport.pl >index 9fd4148..59aae9f 100755 >--- a/misc/migration_tools/bulkmarcimport.pl >+++ b/misc/migration_tools/bulkmarcimport.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # Import an iso2709 file into Koha 3 > > use strict; >diff --git a/misc/migration_tools/checkNonIndexedBiblios.pl b/misc/migration_tools/checkNonIndexedBiblios.pl >index d14a1fb..7aabc82 100755 >--- a/misc/migration_tools/checkNonIndexedBiblios.pl >+++ b/misc/migration_tools/checkNonIndexedBiblios.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2012 BibLibre > # >diff --git a/misc/migration_tools/create_analytical_rel.pl b/misc/migration_tools/create_analytical_rel.pl >index 7c970b5..38fa7f4 100755 >--- a/misc/migration_tools/create_analytical_rel.pl >+++ b/misc/migration_tools/create_analytical_rel.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > use strict; > #use warnings; FIXME - Bug 2505 >diff --git a/misc/migration_tools/fix_onloan.pl b/misc/migration_tools/fix_onloan.pl >index d6e63af..4a05ef0 100755 >--- a/misc/migration_tools/fix_onloan.pl >+++ b/misc/migration_tools/fix_onloan.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > use strict; > #use warnings; FIXME - Bug 2505 >diff --git a/misc/migration_tools/koha-svc.pl b/misc/migration_tools/koha-svc.pl >index ab48d03..f9ee644 100755 >--- a/misc/migration_tools/koha-svc.pl >+++ b/misc/migration_tools/koha-svc.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2011 - Dobrica Pavlinusic > # >diff --git a/misc/migration_tools/merge_authority.pl b/misc/migration_tools/merge_authority.pl >index 8e09594..d022986 100755 >--- a/misc/migration_tools/merge_authority.pl >+++ b/misc/migration_tools/merge_authority.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # script that rebuild thesaurus from biblio table. > > use strict; >diff --git a/misc/migration_tools/rebuild_zebra.pl b/misc/migration_tools/rebuild_zebra.pl >index aa31cb2..bb5354e 100755 >--- a/misc/migration_tools/rebuild_zebra.pl >+++ b/misc/migration_tools/rebuild_zebra.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > use strict; > #use warnings; FIXME - Bug 2505 >diff --git a/misc/migration_tools/remove_unused_authorities.pl b/misc/migration_tools/remove_unused_authorities.pl >index 28c651f..c2251b6 100755 >--- a/misc/migration_tools/remove_unused_authorities.pl >+++ b/misc/migration_tools/remove_unused_authorities.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > #script to administer Authorities without biblio > >diff --git a/misc/migration_tools/switch_marc21_series_info.pl b/misc/migration_tools/switch_marc21_series_info.pl >index cfd204b..e951c1d 100755 >--- a/misc/migration_tools/switch_marc21_series_info.pl >+++ b/misc/migration_tools/switch_marc21_series_info.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2013 Michael Hafen <mdhafen@tech.washk12.org> > # >diff --git a/misc/migration_tools/upgradeitems.pl b/misc/migration_tools/upgradeitems.pl >index c5469ee..bac65e3 100755 >--- a/misc/migration_tools/upgradeitems.pl >+++ b/misc/migration_tools/upgradeitems.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > use strict; > #use warnings; FIXME - Bug 2505 >diff --git a/misc/mod_zebraqueue.pl b/misc/mod_zebraqueue.pl >index 0c5c9a7..267cc3b 100755 >--- a/misc/mod_zebraqueue.pl >+++ b/misc/mod_zebraqueue.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2012 Kyle M Hall > # This file is part of Koha. >diff --git a/misc/perlmodule_ls.pl b/misc/perlmodule_ls.pl >index d381b6e..1021771 100755 >--- a/misc/perlmodule_ls.pl >+++ b/misc/perlmodule_ls.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > use strict; > use warnings; >diff --git a/misc/perlmodule_rm.pl b/misc/perlmodule_rm.pl >index 4dc3b64..6adb7bd 100755 >--- a/misc/perlmodule_rm.pl >+++ b/misc/perlmodule_rm.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Remove a perl module > >diff --git a/misc/recreateIssueStatistics.pl b/misc/recreateIssueStatistics.pl >index a4382f1..b2f52ec 100755 >--- a/misc/recreateIssueStatistics.pl >+++ b/misc/recreateIssueStatistics.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2011 BibLibre > # >diff --git a/misc/sax_parser_print.pl b/misc/sax_parser_print.pl >index d206a5e..6bc31c6 100755 >--- a/misc/sax_parser_print.pl >+++ b/misc/sax_parser_print.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # check the current SAX Parser > > use strict; >diff --git a/misc/sax_parser_test.pl b/misc/sax_parser_test.pl >index fb56de1..d9788f6 100755 >--- a/misc/sax_parser_test.pl >+++ b/misc/sax_parser_test.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > use strict; > use warnings; >diff --git a/misc/sip_cli_emulator.pl b/misc/sip_cli_emulator.pl >index b6d7880..24f4fa7 100755 >--- a/misc/sip_cli_emulator.pl >+++ b/misc/sip_cli_emulator.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/misc/stage_file.pl b/misc/stage_file.pl >index 2e15466..a76f54c 100755 >--- a/misc/stage_file.pl >+++ b/misc/stage_file.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/misc/translator/text-extract.pl b/misc/translator/text-extract.pl >index 4e2fbdc..07e0548 100755 >--- a/misc/translator/text-extract.pl >+++ b/misc/translator/text-extract.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > #use strict; > #use warnings; FIXME - Bug 2505 > use HTML::Tree; >diff --git a/misc/translator/text-extract2.pl b/misc/translator/text-extract2.pl >index cfcd027..10d30d5 100755 >--- a/misc/translator/text-extract2.pl >+++ b/misc/translator/text-extract2.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Test filter partially based on Ambrose's hideous subst.pl code > # The idea is that the .tt files are not valid HTML, and as a result >diff --git a/misc/translator/tmpl_process3.pl b/misc/translator/tmpl_process3.pl >index 4ded16f..03841cd 100755 >--- a/misc/translator/tmpl_process3.pl >+++ b/misc/translator/tmpl_process3.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # This file is part of Koha > # Parts copyright 2003-2004 Paul Poulain > # Parts copyright 2003-2004 Jerome Vizcaino >diff --git a/misc/translator/xgettext.pl b/misc/translator/xgettext.pl >index 976ab47..a5f0f66 100755 >--- a/misc/translator/xgettext.pl >+++ b/misc/translator/xgettext.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > =head1 NAME > >diff --git a/offline_circ/download.pl b/offline_circ/download.pl >index 713057c..327b9bf 100755 >--- a/offline_circ/download.pl >+++ b/offline_circ/download.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2013 C & P Bibliography Services > # >diff --git a/offline_circ/enqueue_koc.pl b/offline_circ/enqueue_koc.pl >index ec4342d..f69bf58 100755 >--- a/offline_circ/enqueue_koc.pl >+++ b/offline_circ/enqueue_koc.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # 2008 Kyle Hall <kyle.m.hall@gmail.com> > >diff --git a/offline_circ/list.pl b/offline_circ/list.pl >index aeff99f..452291f 100755 >--- a/offline_circ/list.pl >+++ b/offline_circ/list.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # 2009 BibLibre <jeanandre.santoni@biblibre.com> > >diff --git a/offline_circ/process.pl b/offline_circ/process.pl >index bd72d60..2b110ca 100755 >--- a/offline_circ/process.pl >+++ b/offline_circ/process.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # 2009 BibLibre <jeanandre.santoni@biblibre.com> > >diff --git a/offline_circ/process_koc.pl b/offline_circ/process_koc.pl >index 05084c6..1f297bb 100755 >--- a/offline_circ/process_koc.pl >+++ b/offline_circ/process_koc.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # 2008 Kyle Hall <kyle.m.hall@gmail.com> > >diff --git a/offline_circ/service.pl b/offline_circ/service.pl >index b56bb75..a14bf1b 100755 >--- a/offline_circ/service.pl >+++ b/offline_circ/service.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # 2009 BibLibre <jeanandre.santoni@biblibre.com> > >diff --git a/opac/errors/400.pl b/opac/errors/400.pl >index cc8006c..c449d88 100755 >--- a/opac/errors/400.pl >+++ b/opac/errors/400.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/opac/errors/401.pl b/opac/errors/401.pl >index 368505e..2cccb47 100755 >--- a/opac/errors/401.pl >+++ b/opac/errors/401.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/opac/errors/402.pl b/opac/errors/402.pl >index 09d56c3..5a86b2d 100755 >--- a/opac/errors/402.pl >+++ b/opac/errors/402.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/opac/errors/403.pl b/opac/errors/403.pl >index 0b2528b..670ab5c 100755 >--- a/opac/errors/403.pl >+++ b/opac/errors/403.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/opac/errors/404.pl b/opac/errors/404.pl >index fb8ee7e..0b49f2c 100755 >--- a/opac/errors/404.pl >+++ b/opac/errors/404.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/opac/errors/500.pl b/opac/errors/500.pl >index 456f7c8..e23e845 100755 >--- a/opac/errors/500.pl >+++ b/opac/errors/500.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/opac/ilsdi.pl b/opac/ilsdi.pl >index efd759b..2cab8e7 100755 >--- a/opac/ilsdi.pl >+++ b/opac/ilsdi.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2009 SARL Biblibre > # >diff --git a/opac/maintenance.pl b/opac/maintenance.pl >index b6b3a24..d57c416 100755 >--- a/opac/maintenance.pl >+++ b/opac/maintenance.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/opac/oai.pl b/opac/oai.pl >index 137a5f6..afbbb62 100755 >--- a/opac/oai.pl >+++ b/opac/oai.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright Biblibre 2008 > # >diff --git a/opac/opac-ISBDdetail.pl b/opac/opac-ISBDdetail.pl >index 33cf4f3..4d8944c 100755 >--- a/opac/opac-ISBDdetail.pl >+++ b/opac/opac-ISBDdetail.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # parts copyright 2010 BibLibre >diff --git a/opac/opac-MARCdetail.pl b/opac/opac-MARCdetail.pl >index 6a5e8a6..5fa1e81 100755 >--- a/opac/opac-MARCdetail.pl >+++ b/opac/opac-MARCdetail.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/opac/opac-account.pl b/opac/opac-account.pl >index 7bbdc6e..caa6567 100755 >--- a/opac/opac-account.pl >+++ b/opac/opac-account.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright Katipo Communications 2002 > # Copyright Biblibre 2007,2010 >diff --git a/opac/opac-addbybiblionumber.pl b/opac/opac-addbybiblionumber.pl >index f988d9d..f03f1e7 100755 >--- a/opac/opac-addbybiblionumber.pl >+++ b/opac/opac-addbybiblionumber.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > #script to provide virtualshelf management > # WARNING: This file uses 4-character tabs! >diff --git a/opac/opac-alert-subscribe.pl b/opac/opac-alert-subscribe.pl >index 694ce8c..fb2ead5 100755 >--- a/opac/opac-alert-subscribe.pl >+++ b/opac/opac-alert-subscribe.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # >diff --git a/opac/opac-authorities-home.pl b/opac/opac-authorities-home.pl >index ab91944..8547059 100755 >--- a/opac/opac-authorities-home.pl >+++ b/opac/opac-authorities-home.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # WARNING: 4-character tab stops here > > # Copyright 2000-2002 Katipo Communications >diff --git a/opac/opac-authoritiesdetail.pl b/opac/opac-authoritiesdetail.pl >index 2f2a0dc..b8df455 100755 >--- a/opac/opac-authoritiesdetail.pl >+++ b/opac/opac-authoritiesdetail.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # >diff --git a/opac/opac-basket.pl b/opac/opac-basket.pl >index 2b345e1..2b93aa9 100755 >--- a/opac/opac-basket.pl >+++ b/opac/opac-basket.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/opac/opac-blocked.pl b/opac/opac-blocked.pl >index 3d2f233..92ae1c7 100755 >--- a/opac/opac-blocked.pl >+++ b/opac/opac-blocked.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/opac/opac-browser.pl b/opac/opac-browser.pl >index fbdae0b..cf9c4ae 100755 >--- a/opac/opac-browser.pl >+++ b/opac/opac-browser.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # >diff --git a/opac/opac-changelanguage.pl b/opac/opac-changelanguage.pl >index a002680..ee443d4 100755 >--- a/opac/opac-changelanguage.pl >+++ b/opac/opac-changelanguage.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/opac/opac-course-details.pl b/opac/opac-course-details.pl >index b1cf4c1..9c51e14 100755 >--- a/opac/opac-course-details.pl >+++ b/opac/opac-course-details.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # > # Copyright 2012 Bywater Solutions >diff --git a/opac/opac-course-reserves.pl b/opac/opac-course-reserves.pl >index eb542e2..5ee06dd 100755 >--- a/opac/opac-course-reserves.pl >+++ b/opac/opac-course-reserves.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # > # Copyright 2012 Bywater Solutions >diff --git a/opac/opac-detail.pl b/opac/opac-detail.pl >index c5f9a6f..564b6ff 100755 >--- a/opac/opac-detail.pl >+++ b/opac/opac-detail.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # Copyright 2010 BibLibre >diff --git a/opac/opac-downloadcart.pl b/opac/opac-downloadcart.pl >index 98a7f3c..b3fcc8e 100755 >--- a/opac/opac-downloadcart.pl >+++ b/opac/opac-downloadcart.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2009 BibLibre > # >diff --git a/opac/opac-downloadshelf.pl b/opac/opac-downloadshelf.pl >index 7a6b1dd..816f6f9 100755 >--- a/opac/opac-downloadshelf.pl >+++ b/opac/opac-downloadshelf.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2009 BibLibre > # >diff --git a/opac/opac-export.pl b/opac/opac-export.pl >index 707392f..757418c 100755 >--- a/opac/opac-export.pl >+++ b/opac/opac-export.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Parts Copyright Catalyst IT 2011 > # >diff --git a/opac/opac-ics.pl b/opac/opac-ics.pl >index acaac9b..0fcca13 100755 >--- a/opac/opac-ics.pl >+++ b/opac/opac-ics.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2007 Liblime Ltd > >diff --git a/opac/opac-image.pl b/opac/opac-image.pl >index c690f0b..6766da4 100755 >--- a/opac/opac-image.pl >+++ b/opac/opac-image.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > # Copyright (C) 2011 C & P Bibliography Services > # Jared Camins-Esakov <jcamins@cpbibliograpy.com> >diff --git a/opac/opac-imageviewer.pl b/opac/opac-imageviewer.pl >index 9d71bdc..390610b 100755 >--- a/opac/opac-imageviewer.pl >+++ b/opac/opac-imageviewer.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2011 C & P Bibliography Services > # >diff --git a/opac/opac-main.pl b/opac/opac-main.pl >index 9db64cb..1316a21 100755 >--- a/opac/opac-main.pl >+++ b/opac/opac-main.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/opac/opac-memberentry.pl b/opac/opac-memberentry.pl >index e63f183..5b90782 100755 >--- a/opac/opac-memberentry.pl >+++ b/opac/opac-memberentry.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/opac/opac-messaging.pl b/opac/opac-messaging.pl >index b0c1cde..f3d51f6 100755 >--- a/opac/opac-messaging.pl >+++ b/opac/opac-messaging.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2008 LibLime > # >diff --git a/opac/opac-modrequest-suspend.pl b/opac/opac-modrequest-suspend.pl >index 92461b9..0f175c7 100755 >--- a/opac/opac-modrequest-suspend.pl >+++ b/opac/opac-modrequest-suspend.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/opac/opac-modrequest.pl b/opac/opac-modrequest.pl >index 25ec92c..c24e01c 100755 >--- a/opac/opac-modrequest.pl >+++ b/opac/opac-modrequest.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > #script to modify reserves/requests > #written 2/1/00 by chris@katipo.oc.nz >diff --git a/opac/opac-mymessages.pl b/opac/opac-mymessages.pl >index 5859e57..fe9bfcf 100755 >--- a/opac/opac-mymessages.pl >+++ b/opac/opac-mymessages.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright Liblime 2008 > # >diff --git a/opac/opac-overdrive-search.pl b/opac/opac-overdrive-search.pl >index dbf60af..456fd1e 100755 >--- a/opac/opac-overdrive-search.pl >+++ b/opac/opac-overdrive-search.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2013 ByWater > # >diff --git a/opac/opac-passwd.pl b/opac/opac-passwd.pl >index 377e09e..17c99af 100755 >--- a/opac/opac-passwd.pl >+++ b/opac/opac-passwd.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # This script lets the users change the passwords by themselves. > # > # (c) 2005 Universidad ORT Uruguay. >diff --git a/opac/opac-patron-image.pl b/opac/opac-patron-image.pl >index a6fc4ee..e172f40 100755 >--- a/opac/opac-patron-image.pl >+++ b/opac/opac-patron-image.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > # Copyright 2009 LibLime > # Parts copyright 2012 Athens County Public Libraries >diff --git a/opac/opac-privacy.pl b/opac/opac-privacy.pl >index 4d611a3..5b3be9c 100755 >--- a/opac/opac-privacy.pl >+++ b/opac/opac-privacy.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # This script lets the users change their privacy rules > # > # copyright 2009, BibLibre, paul.poulain@biblibre.com >diff --git a/opac/opac-ratings-ajax.pl b/opac/opac-ratings-ajax.pl >index db8fc3f..af65e3b 100755 >--- a/opac/opac-ratings-ajax.pl >+++ b/opac/opac-ratings-ajax.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2011 KohaAloha, NZ > # >diff --git a/opac/opac-ratings.pl b/opac/opac-ratings.pl >index 552d8a6..87e2a54 100755 >--- a/opac/opac-ratings.pl >+++ b/opac/opac-ratings.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2011 KohaAloha, NZ > # >diff --git a/opac/opac-readingrecord.pl b/opac/opac-readingrecord.pl >index 0e2d89f..cdf7e30 100755 >--- a/opac/opac-readingrecord.pl >+++ b/opac/opac-readingrecord.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/opac/opac-registration-verify.pl b/opac/opac-registration-verify.pl >index 1984610..75db150 100755 >--- a/opac/opac-registration-verify.pl >+++ b/opac/opac-registration-verify.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/opac/opac-renew.pl b/opac/opac-renew.pl >index 3a64ccf..d46910e 100755 >--- a/opac/opac-renew.pl >+++ b/opac/opac-renew.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > #written 18/1/2000 by chris@katipo.co.nz > # adapted for use in the hlt opac by finlay@katipo.co.nz 29/11/2002 >diff --git a/opac/opac-reserve.pl b/opac/opac-reserve.pl >index c30ee08..c5e1f3d 100755 >--- a/opac/opac-reserve.pl >+++ b/opac/opac-reserve.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright Katipo Communications 2002 > # Copyright Koha Development team 2012 >diff --git a/opac/opac-review.pl b/opac/opac-review.pl >index 948d5e5..a752a55 100755 >--- a/opac/opac-review.pl >+++ b/opac/opac-review.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2006 Katipo Communications > # >diff --git a/opac/opac-search-history.pl b/opac/opac-search-history.pl >index dd5a44a..10cf031 100755 >--- a/opac/opac-search-history.pl >+++ b/opac/opac-search-history.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2013 BibLibre SARL > # >diff --git a/opac/opac-search.pl b/opac/opac-search.pl >index cdf0fbb..16f619e 100755 >--- a/opac/opac-search.pl >+++ b/opac/opac-search.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2008 Garry Collum and the Koha Development team > # Copyright 2010 BibLibre >diff --git a/opac/opac-sendbasket.pl b/opac/opac-sendbasket.pl >index d0aa34a..f68fecd 100755 >--- a/opac/opac-sendbasket.pl >+++ b/opac/opac-sendbasket.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright Doxulting 2004 > # >diff --git a/opac/opac-sendshelf.pl b/opac/opac-sendshelf.pl >index 3086ccc..b600358 100755 >--- a/opac/opac-sendshelf.pl >+++ b/opac/opac-sendshelf.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2009 SARL Biblibre > # >diff --git a/opac/opac-serial-issues.pl b/opac/opac-serial-issues.pl >index 93a0ae3..b7f8584 100755 >--- a/opac/opac-serial-issues.pl >+++ b/opac/opac-serial-issues.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # >diff --git a/opac/opac-shareshelf.pl b/opac/opac-shareshelf.pl >index f29e170..078c58a 100755 >--- a/opac/opac-shareshelf.pl >+++ b/opac/opac-shareshelf.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2013 Rijksmuseum > # >diff --git a/opac/opac-shelves.pl b/opac/opac-shelves.pl >index fe13b7d..4bd8c40 100755 >--- a/opac/opac-shelves.pl >+++ b/opac/opac-shelves.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # >diff --git a/opac/opac-showmarc.pl b/opac/opac-showmarc.pl >index 786693e..bb5c30f 100755 >--- a/opac/opac-showmarc.pl >+++ b/opac/opac-showmarc.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2007 Liblime > # >diff --git a/opac/opac-showreviews.pl b/opac/opac-showreviews.pl >index 2bca5d6..26545e0 100755 >--- a/opac/opac-showreviews.pl >+++ b/opac/opac-showreviews.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # Parts copyright 2010 Nelsonville Public Library >diff --git a/opac/opac-suggestions.pl b/opac/opac-suggestions.pl >index 16aadf8..437300c 100755 >--- a/opac/opac-suggestions.pl >+++ b/opac/opac-suggestions.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/opac/opac-tags.pl b/opac/opac-tags.pl >index 6388a01..39ee887 100755 >--- a/opac/opac-tags.pl >+++ b/opac/opac-tags.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # >diff --git a/opac/opac-tags_subject.pl b/opac/opac-tags_subject.pl >index 3a7a307..ce1643c 100755 >--- a/opac/opac-tags_subject.pl >+++ b/opac/opac-tags_subject.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # >diff --git a/opac/opac-topissues.pl b/opac/opac-topissues.pl >index 154e880..8b9f91c 100755 >--- a/opac/opac-topissues.pl >+++ b/opac/opac-topissues.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/opac/opac-user.pl b/opac/opac-user.pl >index 995db7b..89fd772 100755 >--- a/opac/opac-user.pl >+++ b/opac/opac-user.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # parts copyright 2010 BibLibre >diff --git a/opac/sco/help.pl b/opac/sco/help.pl >index e94f00b..78d8cc7 100755 >--- a/opac/sco/help.pl >+++ b/opac/sco/help.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > # This code (originally from circulation.pl) has been modified by: > # Trendsetters, >diff --git a/opac/sco/printslip.pl b/opac/sco/printslip.pl >index 6ba0066..e246ac3 100755 >--- a/opac/sco/printslip.pl >+++ b/opac/sco/printslip.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2012 ByWater Solutions > # >diff --git a/opac/sco/sco-main.pl b/opac/sco/sco-main.pl >index c6b9b32..56c5d2b 100755 >--- a/opac/sco/sco-main.pl >+++ b/opac/sco/sco-main.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > # This code has been modified by Trendsetters (originally from opac-user.pl) > # This code has been modified by rch >diff --git a/opac/sco/sco-patron-image.pl b/opac/sco/sco-patron-image.pl >index de8d8d6..03f6260 100755 >--- a/opac/sco/sco-patron-image.pl >+++ b/opac/sco/sco-patron-image.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > # Copyright 2009 LibLime > # >diff --git a/opac/svc/shelfbrowser.pl b/opac/svc/shelfbrowser.pl >index ea0e9d7..e7726d4 100755 >--- a/opac/svc/shelfbrowser.pl >+++ b/opac/svc/shelfbrowser.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > use Modern::Perl; > use CGI qw ( -utf8 ); >diff --git a/opac/tracklinks.pl b/opac/tracklinks.pl >index d64b00b..cde5b59 100755 >--- a/opac/tracklinks.pl >+++ b/opac/tracklinks.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # script to log clicks on links to external urls > >diff --git a/patron_lists/add-modify.pl b/patron_lists/add-modify.pl >index 27060a6..29dc9f6 100755 >--- a/patron_lists/add-modify.pl >+++ b/patron_lists/add-modify.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2013 ByWater Solutions > # >diff --git a/patron_lists/delete.pl b/patron_lists/delete.pl >index f9d1aef..8f49bf6 100755 >--- a/patron_lists/delete.pl >+++ b/patron_lists/delete.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2013 ByWater Solutions > # >diff --git a/patron_lists/list.pl b/patron_lists/list.pl >index ef2085c..e0a1472 100755 >--- a/patron_lists/list.pl >+++ b/patron_lists/list.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2013 ByWater Solutions > # >diff --git a/patron_lists/lists.pl b/patron_lists/lists.pl >index a5cdf2b..30d5e61 100755 >--- a/patron_lists/lists.pl >+++ b/patron_lists/lists.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2013 ByWater Solutions > # >diff --git a/patron_lists/patrons.pl b/patron_lists/patrons.pl >index 658f92d..8455fbf 100755 >--- a/patron_lists/patrons.pl >+++ b/patron_lists/patrons.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2013 ByWater Solutions > # >diff --git a/patroncards/card-print.pl b/patroncards/card-print.pl >index 1d82ae0..6a2b283 100755 >--- a/patroncards/card-print.pl >+++ b/patroncards/card-print.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > # Copyright 2009 Foundations Bible College. > # >diff --git a/patroncards/create-pdf.pl b/patroncards/create-pdf.pl >index d507722..7d9f25ea 100755 >--- a/patroncards/create-pdf.pl >+++ b/patroncards/create-pdf.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > # Copyright 2009 Foundations Bible College. > # >diff --git a/patroncards/edit-batch.pl b/patroncards/edit-batch.pl >index 70dac9c..65d2222 100755 >--- a/patroncards/edit-batch.pl >+++ b/patroncards/edit-batch.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > # Copyright 2006 Katipo Communications. > # Parts Copyright 2009 Foundations Bible College. >diff --git a/patroncards/edit-layout.pl b/patroncards/edit-layout.pl >index 513ab5f..70664b9 100755 >--- a/patroncards/edit-layout.pl >+++ b/patroncards/edit-layout.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > # Copyright 2006 Katipo Communications. > # Parts Copyright 2009 Foundations Bible College. >diff --git a/patroncards/edit-profile.pl b/patroncards/edit-profile.pl >index 84f18e6..6c12fae 100755 >--- a/patroncards/edit-profile.pl >+++ b/patroncards/edit-profile.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > # Copyright 2006 Katipo Communications. > # Parts Copyright 2009 Foundations Bible College. >diff --git a/patroncards/edit-template.pl b/patroncards/edit-template.pl >index 8d07e8b..b40ea44 100755 >--- a/patroncards/edit-template.pl >+++ b/patroncards/edit-template.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > # Copyright 2006 Katipo Communications. > # Parts Copyright 2009 Foundations Bible College. >diff --git a/patroncards/home.pl b/patroncards/home.pl >index de7f243..18de0a7 100755 >--- a/patroncards/home.pl >+++ b/patroncards/home.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > # Copyright 2006 Katipo Communications. > # Parts Copyright 2009 Foundations Bible College. >diff --git a/patroncards/image-manage.pl b/patroncards/image-manage.pl >index d72c655..5eb8f14 100755 >--- a/patroncards/image-manage.pl >+++ b/patroncards/image-manage.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > use warnings; > use strict; >diff --git a/patroncards/manage.pl b/patroncards/manage.pl >index a05f0f8..3a2d1b9 100755 >--- a/patroncards/manage.pl >+++ b/patroncards/manage.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > # Copyright 2006 Katipo Communications. > # Parts Copyright 2009 Foundations Bible College. >diff --git a/patroncards/members-search.pl b/patroncards/members-search.pl >index 0c680a0..1ce5fc2 100755 >--- a/patroncards/members-search.pl >+++ b/patroncards/members-search.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # >diff --git a/patroncards/print.pl b/patroncards/print.pl >index 4b20e5a..9417ca1 100755 >--- a/patroncards/print.pl >+++ b/patroncards/print.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > # Copyright 2009 Foundations Bible College. > # >diff --git a/plugins/plugins-home.pl b/plugins/plugins-home.pl >index 693aca9..eb86c7d 100755 >--- a/plugins/plugins-home.pl >+++ b/plugins/plugins-home.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2010 Kyle M Hall <kyle.m.hall@gmail.com> > # >diff --git a/plugins/plugins-uninstall.pl b/plugins/plugins-uninstall.pl >index bde1ff3..702a1e2 100755 >--- a/plugins/plugins-uninstall.pl >+++ b/plugins/plugins-uninstall.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > # This file is part of Koha. > # >diff --git a/plugins/plugins-upload.pl b/plugins/plugins-upload.pl >index 2cadb5d..38aad74 100755 >--- a/plugins/plugins-upload.pl >+++ b/plugins/plugins-upload.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # > # This file is part of Koha. >diff --git a/plugins/run.pl b/plugins/run.pl >index ec7ab6b..3adc521 100755 >--- a/plugins/run.pl >+++ b/plugins/run.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2010 Kyle M Hall <kyle.m.hall@gmail.com> > # >diff --git a/reports/acquisitions_stats.pl b/reports/acquisitions_stats.pl >index 99a4aa3..d09d68b 100755 >--- a/reports/acquisitions_stats.pl >+++ b/reports/acquisitions_stats.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # >diff --git a/reports/bor_issues_top.pl b/reports/bor_issues_top.pl >index d219991..6e6a11e 100755 >--- a/reports/bor_issues_top.pl >+++ b/reports/bor_issues_top.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # >diff --git a/reports/borrowers_out.pl b/reports/borrowers_out.pl >index 3acfcdc..539f1c1 100755 >--- a/reports/borrowers_out.pl >+++ b/reports/borrowers_out.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # >diff --git a/reports/borrowers_stats.pl b/reports/borrowers_stats.pl >index 0280a86..fbc94cf 100755 >--- a/reports/borrowers_stats.pl >+++ b/reports/borrowers_stats.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # >diff --git a/reports/cat_issues_top.pl b/reports/cat_issues_top.pl >index 5916986..c1879df 100755 >--- a/reports/cat_issues_top.pl >+++ b/reports/cat_issues_top.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/reports/catalogue_out.pl b/reports/catalogue_out.pl >index 3454d2e..ce25b38 100755 >--- a/reports/catalogue_out.pl >+++ b/reports/catalogue_out.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # >diff --git a/reports/catalogue_stats.pl b/reports/catalogue_stats.pl >index 94371e9..e9fe11e 100755 >--- a/reports/catalogue_stats.pl >+++ b/reports/catalogue_stats.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/reports/dictionary.pl b/reports/dictionary.pl >index 967c73a..3c1767c 100755 >--- a/reports/dictionary.pl >+++ b/reports/dictionary.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2007 Liblime ltd > # >diff --git a/reports/guided_reports.pl b/reports/guided_reports.pl >index a3009b2..04aa1ae 100755 >--- a/reports/guided_reports.pl >+++ b/reports/guided_reports.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2007 Liblime ltd > # >diff --git a/reports/issues_avg_stats.pl b/reports/issues_avg_stats.pl >index 93fe046..6269b5a 100755 >--- a/reports/issues_avg_stats.pl >+++ b/reports/issues_avg_stats.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/reports/issues_stats.pl b/reports/issues_stats.pl >index 7a487f8..b993cd2 100755 >--- a/reports/issues_stats.pl >+++ b/reports/issues_stats.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # >diff --git a/reports/itemslost.pl b/reports/itemslost.pl >index 450ed45..c577fc1 100755 >--- a/reports/itemslost.pl >+++ b/reports/itemslost.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright Liblime 2007 > # Copyright Biblibre 2009 >diff --git a/reports/manager.pl b/reports/manager.pl >index 7a91e9e..c25ba11 100755 >--- a/reports/manager.pl >+++ b/reports/manager.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # >diff --git a/reports/reports-home.pl b/reports/reports-home.pl >index b1c7355..55d0e9a 100755 >--- a/reports/reports-home.pl >+++ b/reports/reports-home.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright Biblibre 2006 > # >diff --git a/reports/reservereport.pl b/reports/reservereport.pl >index 90085bc..91bf8c4 100755 >--- a/reports/reservereport.pl >+++ b/reports/reservereport.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > #written 26/4/2000 > #script to display reports >diff --git a/reports/reserves_stats.pl b/reports/reserves_stats.pl >index df8d648..ac56c1b 100755 >--- a/reports/reserves_stats.pl >+++ b/reports/reserves_stats.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2010 BibLibre > # >diff --git a/reports/serials_stats.pl b/reports/serials_stats.pl >index 3ec22f8..df219fc 100755 >--- a/reports/serials_stats.pl >+++ b/reports/serials_stats.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2009 SARL Biblibre > # >diff --git a/reports/stats.print.pl b/reports/stats.print.pl >index 9495360..03e92c7 100755 >--- a/reports/stats.print.pl >+++ b/reports/stats.print.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > use strict; > #use warnings; FIXME - Bug 2505 >diff --git a/reports/stats.screen.pl b/reports/stats.screen.pl >index d50368d..5bdbd14 100755 >--- a/reports/stats.screen.pl >+++ b/reports/stats.screen.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright Katipo Communications 2006 > # >diff --git a/reserve/modrequest.pl b/reserve/modrequest.pl >index 9b64e24..e0273a4 100755 >--- a/reserve/modrequest.pl >+++ b/reserve/modrequest.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > #script to modify reserves/requests > #written 2/1/00 by chris@katipo.oc.nz >diff --git a/reserve/modrequest_suspendall.pl b/reserve/modrequest_suspendall.pl >index 4d3b6a5..e4e5b27 100755 >--- a/reserve/modrequest_suspendall.pl >+++ b/reserve/modrequest_suspendall.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > #script to modify reserves/requests > #written 2/1/00 by chris@katipo.oc.nz >diff --git a/reserve/placerequest.pl b/reserve/placerequest.pl >index 1499ea5..6976c66 100755 >--- a/reserve/placerequest.pl >+++ b/reserve/placerequest.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > #script to place reserves/requests > #writen 2/1/00 by chris@katipo.oc.nz >diff --git a/reserve/renewscript.pl b/reserve/renewscript.pl >index b5402d1..f630896 100755 >--- a/reserve/renewscript.pl >+++ b/reserve/renewscript.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > #written 18/1/2000 by chris@katipo.co.nz > #script to renew items from the web >diff --git a/reserve/request.pl b/reserve/request.pl >index b4b749e..62dba83 100755 >--- a/reserve/request.pl >+++ b/reserve/request.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > #writen 2/1/00 by chris@katipo.oc.nz >diff --git a/reviews/reviewswaiting.pl b/reviews/reviewswaiting.pl >index b7cf3af..80e563b 100755 >--- a/reviews/reviewswaiting.pl >+++ b/reviews/reviewswaiting.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/rotating_collections/addItems.pl b/rotating_collections/addItems.pl >index 93fa4ee..783ed2d 100755 >--- a/rotating_collections/addItems.pl >+++ b/rotating_collections/addItems.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/rotating_collections/editCollections.pl b/rotating_collections/editCollections.pl >index fe02cf2..27bfe6d 100755 >--- a/rotating_collections/editCollections.pl >+++ b/rotating_collections/editCollections.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/rotating_collections/rotatingCollections.pl b/rotating_collections/rotatingCollections.pl >index 8cbd772..828331c 100755 >--- a/rotating_collections/rotatingCollections.pl >+++ b/rotating_collections/rotatingCollections.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/rotating_collections/transferCollection.pl b/rotating_collections/transferCollection.pl >index 8ed4bdb..482df80 100755 >--- a/rotating_collections/transferCollection.pl >+++ b/rotating_collections/transferCollection.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/serials/acqui-search-result.pl b/serials/acqui-search-result.pl >index 2eb248e..2069ae5 100755 >--- a/serials/acqui-search-result.pl >+++ b/serials/acqui-search-result.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > #script to show suppliers and orders > #written by chris@katipo.co.nz 23/2/2000 >diff --git a/serials/acqui-search.pl b/serials/acqui-search.pl >index a8c2248..8aff1c2 100755 >--- a/serials/acqui-search.pl >+++ b/serials/acqui-search.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # >diff --git a/serials/checkexpiration.pl b/serials/checkexpiration.pl >index 9feeaad..7f7bc9a 100755 >--- a/serials/checkexpiration.pl >+++ b/serials/checkexpiration.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # > # This file is part of Koha. >diff --git a/serials/claims.pl b/serials/claims.pl >index 89150a1..862af88 100755 >--- a/serials/claims.pl >+++ b/serials/claims.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Parts Copyright 2010 Biblibre > >diff --git a/serials/create-numberpattern.pl b/serials/create-numberpattern.pl >index 52b303d..6a7557f 100755 >--- a/serials/create-numberpattern.pl >+++ b/serials/create-numberpattern.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2011-2013 Biblibre SARL > # >diff --git a/serials/lateissues-export.pl b/serials/lateissues-export.pl >index a75b21c..41f6a88 100755 >--- a/serials/lateissues-export.pl >+++ b/serials/lateissues-export.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/serials/member-search.pl b/serials/member-search.pl >index 9ae769b..c211c9c 100755 >--- a/serials/member-search.pl >+++ b/serials/member-search.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Parts copyright Catalyst IT 2010 > # >diff --git a/serials/reorder_members.pl b/serials/reorder_members.pl >index ba19b8c..34a6c66 100755 >--- a/serials/reorder_members.pl >+++ b/serials/reorder_members.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # This file is part of Koha. > # > # Koha is free software; you can redistribute it and/or modify it under the >diff --git a/serials/routing-preview.pl b/serials/routing-preview.pl >index db0984c..a6b04f9 100755 >--- a/serials/routing-preview.pl >+++ b/serials/routing-preview.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/serials/routing.pl b/serials/routing.pl >index 5e85729..3cda79c 100755 >--- a/serials/routing.pl >+++ b/serials/routing.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha > # >diff --git a/serials/serial-issues.pl b/serials/serial-issues.pl >index 0294c54..f1a9be5 100755 >--- a/serials/serial-issues.pl >+++ b/serials/serial-issues.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # >diff --git a/serials/serials-collection.pl b/serials/serials-collection.pl >index 6d17354..aa14af4 100755 >--- a/serials/serials-collection.pl >+++ b/serials/serials-collection.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # Parts Copyright 2010 Biblibre >diff --git a/serials/serials-edit.pl b/serials/serials-edit.pl >index d9b97a6..c2c539c 100755 >--- a/serials/serials-edit.pl >+++ b/serials/serials-edit.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # Parts Copyright 2010 Biblibre >diff --git a/serials/serials-home.pl b/serials/serials-home.pl >index 66e47e2..75f10a3 100755 >--- a/serials/serials-home.pl >+++ b/serials/serials-home.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # >diff --git a/serials/serials-recieve.pl b/serials/serials-recieve.pl >index 9fbce35..d2b4b2a 100755 >--- a/serials/serials-recieve.pl >+++ b/serials/serials-recieve.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # >diff --git a/serials/serials-search.pl b/serials/serials-search.pl >index b8a4007..28c0cd9 100755 >--- a/serials/serials-search.pl >+++ b/serials/serials-search.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2012 Koha Team > # >diff --git a/serials/showpredictionpattern.pl b/serials/showpredictionpattern.pl >index 6945a36..c912a34 100755 >--- a/serials/showpredictionpattern.pl >+++ b/serials/showpredictionpattern.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2011-2013 Biblibre SARL > # >diff --git a/serials/subscription-add.pl b/serials/subscription-add.pl >index fa75f06..c7786bb 100755 >--- a/serials/subscription-add.pl >+++ b/serials/subscription-add.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/serials/subscription-bib-search.pl b/serials/subscription-bib-search.pl >index d8a8dd5..e619df7 100755 >--- a/serials/subscription-bib-search.pl >+++ b/serials/subscription-bib-search.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # WARNING: 4-character tab stops here > > # Copyright 2000-2002 Katipo Communications >diff --git a/serials/subscription-detail.pl b/serials/subscription-detail.pl >index ebdc415..d572d0c 100755 >--- a/serials/subscription-detail.pl >+++ b/serials/subscription-detail.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/serials/subscription-frequencies.pl b/serials/subscription-frequencies.pl >index f3c6d57..8a8b1bd 100755 >--- a/serials/subscription-frequencies.pl >+++ b/serials/subscription-frequencies.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2011-2013 Biblibre SARL > # >diff --git a/serials/subscription-frequency.pl b/serials/subscription-frequency.pl >index f7fe7c0..3300e92 100755 >--- a/serials/subscription-frequency.pl >+++ b/serials/subscription-frequency.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2011-2013 Biblibre SARL > # >diff --git a/serials/subscription-history.pl b/serials/subscription-history.pl >index 9310b5d..cfcfa98 100755 >--- a/serials/subscription-history.pl >+++ b/serials/subscription-history.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2011-2013 Biblibre SARL > # >diff --git a/serials/subscription-numberpattern.pl b/serials/subscription-numberpattern.pl >index 26745f1..71c00d2 100755 >--- a/serials/subscription-numberpattern.pl >+++ b/serials/subscription-numberpattern.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2011-2013 Biblibre SARL > # >diff --git a/serials/subscription-numberpatterns.pl b/serials/subscription-numberpatterns.pl >index 2bcce3a..4475b03 100755 >--- a/serials/subscription-numberpatterns.pl >+++ b/serials/subscription-numberpatterns.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2011-2013 Biblibre SARL > # >diff --git a/serials/subscription-renew.pl b/serials/subscription-renew.pl >index 92f7766..85136ae 100755 >--- a/serials/subscription-renew.pl >+++ b/serials/subscription-renew.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # >diff --git a/serials/viewalerts.pl b/serials/viewalerts.pl >index af28d66..ed045e4 100755 >--- a/serials/viewalerts.pl >+++ b/serials/viewalerts.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/services/itemrecorddisplay.pl b/services/itemrecorddisplay.pl >index ff6eb12..f6be05d 100755 >--- a/services/itemrecorddisplay.pl >+++ b/services/itemrecorddisplay.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2011 BibLibre SARL > # This file is part of Koha. >diff --git a/sms/sms.pl b/sms/sms.pl >index 5d599fb..d343232 100755 >--- a/sms/sms.pl >+++ b/sms/sms.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > use strict; > #use warnings; FIXME - Bug 2505 >diff --git a/sms/sms_listen.pl b/sms/sms_listen.pl >index a7420d9..f47794e 100755 >--- a/sms/sms_listen.pl >+++ b/sms/sms_listen.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > use strict; > use warnings; >diff --git a/sms/sms_listen_windows_start.pl b/sms/sms_listen_windows_start.pl >index a94dc95..bb2accd 100755 >--- a/sms/sms_listen_windows_start.pl >+++ b/sms/sms_listen_windows_start.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # script that starts the zebraqueue > # Written by TG on 01/08/2006 > use strict; >diff --git a/suggestion/suggestion.pl b/suggestion/suggestion.pl >index 3d10111..f84d074 100755 >--- a/suggestion/suggestion.pl >+++ b/suggestion/suggestion.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # Copyright 2006-2010 BibLibre >diff --git a/t/db_dependent/LDAP/test_ldap_add.pl b/t/db_dependent/LDAP/test_ldap_add.pl >index 1a67748..65962ec 100755 >--- a/t/db_dependent/LDAP/test_ldap_add.pl >+++ b/t/db_dependent/LDAP/test_ldap_add.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > # To start out, try something like this against your LDAP: > # ldapadd -w metavore -D'cn=Manager,dc=metavore,dc=com' -c -f example3.ldif >diff --git a/t/db_dependent/default_search_class.pl b/t/db_dependent/default_search_class.pl >index 905ae1d..1b40d91 100755 >--- a/t/db_dependent/default_search_class.pl >+++ b/t/db_dependent/default_search_class.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/t/db_dependent/zebra_config.pl b/t/db_dependent/zebra_config.pl >index 75efb7b..f8f5a97 100755 >--- a/t/db_dependent/zebra_config.pl >+++ b/t/db_dependent/zebra_config.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > use Modern::Perl; > use File::Copy; >diff --git a/tags/list.pl b/tags/list.pl >index 24265a1..d150883 100755 >--- a/tags/list.pl >+++ b/tags/list.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2011 Athens County Public Libraries > # >diff --git a/tags/review.pl b/tags/review.pl >index 6da8027..23719c4 100755 >--- a/tags/review.pl >+++ b/tags/review.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This software is placed under the gnu General Public License, v2 (http://www.gnu.org/licenses/gpl.html) > >diff --git a/test/progressbar.pl b/test/progressbar.pl >index bdd8b4d..cffb6d5 100755 >--- a/test/progressbar.pl >+++ b/test/progressbar.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Script for testing progressbar, part 1 - initial screem > # it is split into two scripts so we can use firebug to debug it >diff --git a/test/progressbarsubmit.pl b/test/progressbarsubmit.pl >index a15cf51..148d602 100755 >--- a/test/progressbarsubmit.pl >+++ b/test/progressbarsubmit.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Script for testing progressbar, part 2 - json submit handler > # and Z39.50 lookups >diff --git a/test/search.pl b/test/search.pl >index 4362791..4bf6cad 100755 >--- a/test/search.pl >+++ b/test/search.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl -w >+#!/usr/bin/env perl -w > > use C4::Search; > >diff --git a/tools/ajax-inventory.pl b/tools/ajax-inventory.pl >index 2aeda40..9bba39b 100755 >--- a/tools/ajax-inventory.pl >+++ b/tools/ajax-inventory.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > use Modern::Perl; > use CGI qw ( -utf8 ); >diff --git a/tools/background-job-progress.pl b/tools/background-job-progress.pl >index 8f968d3..1a3ab63 100755 >--- a/tools/background-job-progress.pl >+++ b/tools/background-job-progress.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright (C) 2007 LibLime > # >diff --git a/tools/batchMod.pl b/tools/batchMod.pl >index 4ff95e8..0a77d32 100755 >--- a/tools/batchMod.pl >+++ b/tools/batchMod.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > > # Copyright 2000-2002 Katipo Communications >diff --git a/tools/batch_delete_records.pl b/tools/batch_delete_records.pl >index b0523d5..c04926e 100755 >--- a/tools/batch_delete_records.pl >+++ b/tools/batch_delete_records.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/tools/batch_record_modification.pl b/tools/batch_record_modification.pl >index beb2b4c..6ecf9f0 100755 >--- a/tools/batch_record_modification.pl >+++ b/tools/batch_record_modification.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/tools/batch_records_ajax.pl b/tools/batch_records_ajax.pl >index c8c6198..9282dee 100755 >--- a/tools/batch_records_ajax.pl >+++ b/tools/batch_records_ajax.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2013 ByWater Solutions > # Based on circ/ysearch.pl: Copyright 2007 Tamil s.a.r.l. >diff --git a/tools/cleanborrowers.pl b/tools/cleanborrowers.pl >index 918dd9e..950c72c 100755 >--- a/tools/cleanborrowers.pl >+++ b/tools/cleanborrowers.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/tools/copy-holidays.pl b/tools/copy-holidays.pl >index 5a1618d..83f10ac 100755 >--- a/tools/copy-holidays.pl >+++ b/tools/copy-holidays.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2012 Catalyst IT > # >diff --git a/tools/csv-profiles.pl b/tools/csv-profiles.pl >index c261376..9eb427c 100755 >--- a/tools/csv-profiles.pl >+++ b/tools/csv-profiles.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2009 BibLibre > # >diff --git a/tools/exceptionHolidays.pl b/tools/exceptionHolidays.pl >index 45e2208..18a02ef 100755 >--- a/tools/exceptionHolidays.pl >+++ b/tools/exceptionHolidays.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > use strict; > use warnings; >diff --git a/tools/export.pl b/tools/export.pl >index 1bee5dc..23e0fa7 100755 >--- a/tools/export.pl >+++ b/tools/export.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # > # This file is part of Koha. >diff --git a/tools/holidays.pl b/tools/holidays.pl >index b5aa4e3..69fe16c 100755 >--- a/tools/holidays.pl >+++ b/tools/holidays.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/tools/import_borrowers.pl b/tools/import_borrowers.pl >index bad2475..21ba2c3 100755 >--- a/tools/import_borrowers.pl >+++ b/tools/import_borrowers.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2007 Liblime > # Parts copyright 2010 BibLibre >diff --git a/tools/inventory.pl b/tools/inventory.pl >index b8cc31d..ff72141 100755 >--- a/tools/inventory.pl >+++ b/tools/inventory.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2009 Biblibre S.A > # John Soros <john.soros@biblibre.com> >diff --git a/tools/koha-news.pl b/tools/koha-news.pl >index cf1e2b4..2e8b58b 100755 >--- a/tools/koha-news.pl >+++ b/tools/koha-news.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/tools/letter.pl b/tools/letter.pl >index 06f7ae5..c9a99a4 100755 >--- a/tools/letter.pl >+++ b/tools/letter.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # >diff --git a/tools/manage-marc-import.pl b/tools/manage-marc-import.pl >index f0f2ca5..c90241d 100755 >--- a/tools/manage-marc-import.pl >+++ b/tools/manage-marc-import.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright (C) 2007 LibLime > # >diff --git a/tools/marc_modification_templates.pl b/tools/marc_modification_templates.pl >index 31c663b..547f22d 100755 >--- a/tools/marc_modification_templates.pl >+++ b/tools/marc_modification_templates.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # This file is part of Koha. > # > # Copyright 2010 Kyle M Hall <kyle.m.hall@gmail.com> >diff --git a/tools/modborrowers.pl b/tools/modborrowers.pl >index bc82ed4..169b7f7 100755 >--- a/tools/modborrowers.pl >+++ b/tools/modborrowers.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2012 BibLibre > # >diff --git a/tools/newHolidays.pl b/tools/newHolidays.pl >index 678ee0d..6ea082b 100755 >--- a/tools/newHolidays.pl >+++ b/tools/newHolidays.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > use strict; > use warnings; >diff --git a/tools/overduerules.pl b/tools/overduerules.pl >index 178a569..12bc8bc 100755 >--- a/tools/overduerules.pl >+++ b/tools/overduerules.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2000-2002 Katipo Communications > # >diff --git a/tools/picture-upload.pl b/tools/picture-upload.pl >index af3012a..d5e09dd 100755 >--- a/tools/picture-upload.pl >+++ b/tools/picture-upload.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > # > # This file is part of Koha. >diff --git a/tools/quotes-upload.pl b/tools/quotes-upload.pl >index eae219c2..8075b57 100755 >--- a/tools/quotes-upload.pl >+++ b/tools/quotes-upload.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2012 Foundations Bible College Inc. > # >diff --git a/tools/quotes.pl b/tools/quotes.pl >index e65a013..4d74d35 100755 >--- a/tools/quotes.pl >+++ b/tools/quotes.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2012 Foundations Bible College Inc. > # >diff --git a/tools/quotes/quotes-upload_ajax.pl b/tools/quotes/quotes-upload_ajax.pl >index 08606e0..f44cb41 100755 >--- a/tools/quotes/quotes-upload_ajax.pl >+++ b/tools/quotes/quotes-upload_ajax.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2012 Foundations Bible College Inc. > # >diff --git a/tools/quotes/quotes_ajax.pl b/tools/quotes/quotes_ajax.pl >index ece31c6..b97202a 100755 >--- a/tools/quotes/quotes_ajax.pl >+++ b/tools/quotes/quotes_ajax.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2012 Foundations Bible College Inc. > # >diff --git a/tools/scheduler.pl b/tools/scheduler.pl >index b55204b..047263a 100755 >--- a/tools/scheduler.pl >+++ b/tools/scheduler.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2007 Liblime Ltd > # >diff --git a/tools/showdiffmarc.pl b/tools/showdiffmarc.pl >index 33881ba..c5d0a00 100755 >--- a/tools/showdiffmarc.pl >+++ b/tools/showdiffmarc.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Koha library project www.koha-community.org > >diff --git a/tools/stage-marc-import.pl b/tools/stage-marc-import.pl >index 500e6cd..2d2b3aa 100755 >--- a/tools/stage-marc-import.pl >+++ b/tools/stage-marc-import.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Script for handling import of MARC data into Koha db > # and Z39.50 lookups >diff --git a/tools/tools-home.pl b/tools/tools-home.pl >index 75f970b..7febcd6 100755 >--- a/tools/tools-home.pl >+++ b/tools/tools-home.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # This file is part of Koha. > # >diff --git a/tools/upload-cover-image.pl b/tools/upload-cover-image.pl >index 1e6a1af..ff38ce8 100755 >--- a/tools/upload-cover-image.pl >+++ b/tools/upload-cover-image.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > # > # Copyright 2011 C & P Bibliography Services > # >diff --git a/tools/upload-file-progress.pl b/tools/upload-file-progress.pl >index dd1065c..a48f1f8 100755 >--- a/tools/upload-file-progress.pl >+++ b/tools/upload-file-progress.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright (C) 2007 LibLime > # >diff --git a/tools/upload-file.pl b/tools/upload-file.pl >index dd8c4f5..725ec20 100755 >--- a/tools/upload-file.pl >+++ b/tools/upload-file.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright (C) 2007 LibLime > # >diff --git a/tools/viewlog.pl b/tools/viewlog.pl >index 6f5ea03..b90150e 100755 >--- a/tools/viewlog.pl >+++ b/tools/viewlog.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2010 BibLibre > # Copyright 2011 MJ Ray and software.coop >diff --git a/virtualshelves/addbybiblionumber.pl b/virtualshelves/addbybiblionumber.pl >index 87586f2..0fd1f0d 100755 >--- a/virtualshelves/addbybiblionumber.pl >+++ b/virtualshelves/addbybiblionumber.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > #script to provide virtual shelf management > # >diff --git a/virtualshelves/downloadshelf.pl b/virtualshelves/downloadshelf.pl >index 27fc7f9..d85495e 100755 >--- a/virtualshelves/downloadshelf.pl >+++ b/virtualshelves/downloadshelf.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2009 BibLibre > # >diff --git a/virtualshelves/sendshelf.pl b/virtualshelves/sendshelf.pl >index 031c38a..724b598 100755 >--- a/virtualshelves/sendshelf.pl >+++ b/virtualshelves/sendshelf.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright 2009 BibLibre > # >diff --git a/virtualshelves/shelves.pl b/virtualshelves/shelves.pl >index 9dba3f4..07ac97c 100755 >--- a/virtualshelves/shelves.pl >+++ b/virtualshelves/shelves.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # > # Copyright 2000-2002 Katipo Communications >diff --git a/xt/author/show-template-structure.pl b/xt/author/show-template-structure.pl >index 0b24fa5..c125798 100755 >--- a/xt/author/show-template-structure.pl >+++ b/xt/author/show-template-structure.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright (C) 2010 Galen Charlton > # >diff --git a/xt/yaml_valid.pl b/xt/yaml_valid.pl >index 75e0ae7..8c55da5 100755 >--- a/xt/yaml_valid.pl >+++ b/xt/yaml_valid.pl >@@ -1,4 +1,4 @@ >-#!/usr/bin/perl >+#!/usr/bin/env perl > > # Copyright (C) 2012 BibLibre > # >-- >2.1.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 5617
:
37275
| 37276 |
37277
|
37278