Bugzilla – Attachment 56625 Details for
Bug 10337
Add a script to insert all sample data automatically
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10337: (followup) Upper case MARC flavour
Bug-10337-followup-Upper-case-MARC-flavour.patch (text/plain), 959 bytes, created by
Tomás Cohen Arazi (tcohen)
on 2016-10-18 15:04:09 UTC
(
hide
)
Description:
Bug 10337: (followup) Upper case MARC flavour
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2016-10-18 15:04:09 UTC
Size:
959 bytes
patch
obsolete
>From 20a9cc1d4944bf2c230ad57dea5756edce90183b Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Tue, 18 Oct 2016 12:02:25 -0300 >Subject: [PATCH] Bug 10337: (followup) Upper case MARC flavour > >This patch makes the populate_db.pl script upper case what gets passed >with the --marcflavour option switch. This is needed in order for this >to fit ``kohadevbox`` configuration files, and it is harmless for other >uses. > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > misc/devel/populate_db.pl | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/misc/devel/populate_db.pl b/misc/devel/populate_db.pl >index ab0503d..26c6279 100755 >--- a/misc/devel/populate_db.pl >+++ b/misc/devel/populate_db.pl >@@ -75,6 +75,8 @@ if ( $help ) { > pod2usage; > } > >+$marcflavour = uc($marcflavour); >+ > if ( $marcflavour ne 'MARC21' > and $marcflavour ne 'UNIMARC' ) { > say "Invalid MARC flavour '$marcflavour' passed."; >-- >2.10.1
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 10337
:
18389
|
18390
|
42784
|
56607
|
56614
|
56621
|
56622
| 56625