Bugzilla – Attachment 187430 Details for
Bug 40953
marc_ordering_process.pl broken due to accidental newline
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40953: marc_ordering_process.pl broken due to accidental newline
Bug-40953-marcorderingprocesspl-broken-due-to-acci.patch (text/plain), 2.34 KB, created by
Lucas Gass (lukeg)
on 2025-10-04 18:55:53 UTC
(
hide
)
Description:
Bug 40953: marc_ordering_process.pl broken due to accidental newline
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2025-10-04 18:55:53 UTC
Size:
2.34 KB
patch
obsolete
>From 2b779ff4fa1d61b139f1bf05e81d1ac14d31115f Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Sat, 4 Oct 2025 14:34:16 -0400 >Subject: [PATCH] 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> >--- > misc/cronjobs/marc_ordering_process.pl | 1 - > 1 file changed, 1 deletion(-) > >diff --git a/misc/cronjobs/marc_ordering_process.pl b/misc/cronjobs/marc_ordering_process.pl >index 554f43b1758..0e51cf7baf3 100755 >--- a/misc/cronjobs/marc_ordering_process.pl >+++ b/misc/cronjobs/marc_ordering_process.pl >@@ -1,4 +1,3 @@ >- > #!/usr/bin/perl > > # This file is part of Koha. >-- >2.39.5
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 40953
:
187429
| 187430