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>
This commit is contained in:
parent
fab0bc9764
commit
31cb200e0d
|
|
@ -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