Bugzilla – Attachment 16673 Details for
Bug 5608
Tool to move MARC21 series info to 490 tag
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] bug 5608 follow-up: exit immediately if UNIMARC
PASSED-QA-bug-5608-follow-up-exit-immediately-if-U.patch (text/plain), 994 bytes, created by
Paul Poulain
on 2013-03-21 16:00:41 UTC
(
hide
)
Description:
[PASSED QA] bug 5608 follow-up: exit immediately if UNIMARC
Filename:
MIME Type:
Creator:
Paul Poulain
Created:
2013-03-21 16:00:41 UTC
Size:
994 bytes
patch
obsolete
>From 0262a6aa1d12afe80ee3949fb5982b9582337bf6 Mon Sep 17 00:00:00 2001 >From: Paul Poulain <paul.poulain@biblibre.com> >Date: Thu, 21 Mar 2013 16:55:07 +0100 >Subject: [PATCH] [PASSED QA] bug 5608 follow-up: exit immediately if UNIMARC > >Signed-off-by: Paul Poulain <paul.poulain@biblibre.com> >--- > misc/migration_tools/switch_marc21_series_info.pl | 5 +++++ > 1 file changed, 5 insertions(+) > >diff --git a/misc/migration_tools/switch_marc21_series_info.pl b/misc/migration_tools/switch_marc21_series_info.pl >index 9f67e02..cfd204b 100755 >--- a/misc/migration_tools/switch_marc21_series_info.pl >+++ b/misc/migration_tools/switch_marc21_series_info.pl >@@ -46,6 +46,11 @@ my $result = GetOptions( > 'v' => \$verbose, > ); > >+# warn and exit if we're running UNIMARC >+if (C4::Context->preference('MARCFLAVOUR') eq 'UNIMARC') { >+ print "This script is useless when you're running UNIMARC\n"; >+ exit 0; >+} > if ( ! $result || $show_help ) { > print_usage(); > exit 0; >-- >1.7.9.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 5608
:
2978
|
14437
|
15579
|
15604
|
15660
|
15661
|
15662
|
15663
|
15664
|
16670
|
16671
|
16672
| 16673