From 20a9cc1d4944bf2c230ad57dea5756edce90183b Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi 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 --- 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