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>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 31cb200e0d)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
This commit is contained in:
parent
a0c7f81f0c
commit
afd505b5e9
|
|
@ -75,6 +75,8 @@ if ( $help ) {
|
|||
pod2usage;
|
||||
}
|
||||
|
||||
$marcflavour = uc($marcflavour);
|
||||
|
||||
if ( $marcflavour ne 'MARC21'
|
||||
and $marcflavour ne 'UNIMARC' ) {
|
||||
say "Invalid MARC flavour '$marcflavour' passed.";
|
||||
|
|
|
|||
Loading…
Reference in New Issue