Koha-clms/misc/cronjobs
Kyle M Hall edec2009dc
Bug 40953: marc_ordering_process.pl broken due to accidental newline
Executing marc_ordering_process.pl will fail to run with the following errors:

/usr/share/koha/bin/cronjobs/marc_ordering_process.pl: line 21: =head1: command not found
/usr/share/koha/bin/cronjobs/marc_ordering_process.pl: line 23: marc_ordering_process.pl: command not found
/usr/share/koha/bin/cronjobs/marc_ordering_process.pl: line 25: =head1: command not found
/usr/share/koha/bin/cronjobs/marc_ordering_process.pl: line 27: --confirm]: command not found
/usr/share/koha/bin/cronjobs/marc_ordering_process.pl: line 27: --verbose]: command not found
/usr/share/koha/bin/cronjobs/marc_ordering_process.pl: line 27: ./marc_ordering_process.pl: No such file or directory
/usr/share/koha/bin/cronjobs/marc_ordering_process.pl: line 29: or,: command not found
/usr/share/koha/bin/cronjobs/marc_ordering_process.pl: line 31: 0: command not found
/usr/share/koha/bin/cronjobs/marc_ordering_process.pl: line 33: =head1: command not found
/usr/share/koha/bin/cronjobs/marc_ordering_process.pl: line 35: This: command not found
/usr/share/koha/bin/cronjobs/marc_ordering_process.pl: line 36: If: command not found
/usr/share/koha/bin/cronjobs/marc_ordering_process.pl: line 38: =head1: command not found
/usr/share/koha/bin/cronjobs/marc_ordering_process.pl: line 40: =over: command not found
/usr/share/koha/bin/cronjobs/marc_ordering_process.pl: line 42: syntax error near unexpected token `newline'
/usr/share/koha/bin/cronjobs/marc_ordering_process.pl: line 42: `=item B<-v|--verbose>'

This is due to an inadvertent newline before the shebang of the script.

Test Plan:
1) Run ./misc/cronjobs/marc_ordering_process.pl
2) Note the error
3) Apply this patch
4) Run ./misc/cronjobs/marc_ordering_process.pl
5) No error!

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit a067423f3f)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
2025-10-23 23:06:49 +02:00
..
holds Bug 39325: Manual fixes 2025-04-28 18:51:23 +02:00
recalls Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
rss Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
social_data Bug 40748: Check for HTTP URLs and skip shell when using system() 2025-09-25 20:49:58 +02:00
thirdparty Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
CONFIGURE.gmail
…
advance_notices.pl Bug 39325: Manual fixes 2025-04-28 18:51:23 +02:00
archive_purchase_suggestions.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
automatic_checkin.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
automatic_item_modification_by_age.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
automatic_renewals.pl Bug 38857: Update cronjobs to log run before processing parameters 2025-01-10 19:19:23 +01:00
backup.sh
…
batch_anonymise.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
build_browser_and_cloud.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
cart_to_shelf.pl Bug 39325: Automatic fix 2025-04-28 18:51:22 +02:00
check-url-quick.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
cleanup_database.pl Bug 32440: Support purging statistics by type in cleanup_database.pl 2025-02-21 16:41:29 +01:00
cloud-kw.pl Bug 39325: Automatic fix 2025-04-28 18:51:22 +02:00
cloud-sample.conf
…
create_koc_db.pl Bug 39325: Automatic fix 2025-04-28 18:51:22 +02:00
crontab.example Bug 39250: Add archive_purchase_suggestions.pl to cron.daily commented 2025-03-07 15:41:17 +01:00
debar_patrons_with_fines.pl Revert "Bug 39532: Script debar_patrons_with_fines.pl creates repeat restrictions, uses wrong restriction type" 2025-05-13 18:50:47 +02:00
delete_items.pl Bug 35654: (follow-up) Update example script to be compatible with change to using Koha::Items 2025-09-20 10:43:04 +02:00
delete_patrons.pl Bug 37418: delete_patrons.pl: Exclude patrons with restrictions 2025-04-25 08:46:53 +02:00
delete_records_via_leader.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
edi_cron.pl Bug 22415: (QA follow-up) Fix misc qa issues 2025-01-10 19:19:14 +01:00
erm_run_harvester.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
fines.pl Bug 39325: Automatic fix 2025-04-28 18:51:22 +02:00
gather_print_notices.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
harvest_oai.pl Bug 38857: Update cronjobs to log run before processing parameters 2025-01-10 19:19:23 +01:00
import_webservice_batch.pl Bug 39325: Automatic fix 2025-04-28 18:51:22 +02:00
longoverdue.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
marc_ordering_process.pl Bug 40953: marc_ordering_process.pl broken due to accidental newline 2025-10-23 23:06:49 +02:00
membership_expiry.pl Bug 30301: Allow for forcing of print notices 2025-05-19 18:54:32 +02:00
merge_authorities.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
notice_unprocessed_suggestions.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
overdue_notices.pl Bug 40407: Remove legacy "pre-wrap" versions 2025-07-24 21:04:38 +02:00
patron_emailer.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
plugins_nightly.pl Bug 37495: Add ability to use metadata to filter plugins to run for plugins_nightly.pl 2024-10-30 14:34:51 +01:00
printoverdues.sh
…
process_message_queue.pl Bug 38857: Update cronjobs to log run before processing parameters 2025-01-10 19:19:23 +01:00
purge_suggestions.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
reconcile_balances.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
remove_temporary_edifiles.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
restrict_patrons_with_failed_notices.pl Bug 38857: (QA follow-up) Fix perltidy errors 2025-01-10 19:19:23 +01:00
runreport.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
serialsUpdate.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
sftp_file.pl Bug 38857: Update cronjobs to log run before processing parameters 2025-01-10 19:19:23 +01:00
share_usage_with_koha_community.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
sitemap.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
staticfines.pl Bug 39733: Remove system preference delimiter mention in misc/cronjobs/staticfines.pl 2025-05-15 08:34:17 +02:00
stockrotation.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
update_patrons_category.pl Bug 39325: Manual fixes 2025-04-28 18:51:23 +02:00
update_totalissues.pl Bug 38857: Update cronjobs to log run before processing parameters 2025-01-10 19:19:23 +01:00
writeoff_debts.pl Bug 37920: Add cronjob loggging to writeoff_debts.pl 2025-03-17 08:21:24 +01:00