FORM=foo should not be ignored
authorBen Ostrowsky <ben@esilibrary.com>
Fri, 30 Oct 2009 19:18:51 +0000 (19:18 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 16 Jul 2012 16:06:28 +0000 (12:06 -0400)
git-svn-id: svn://nox.esilibrary.com/migration-tools@631 eee7cc8d-164e-4af6-8e1b-092a69004917
Signed-off-by: Galen Charlton <gmc@esilibrary.com>

unicorn/unicorn_to_tsv.pl

index e864a31..a478227 100755 (executable)
@@ -25,8 +25,9 @@ while (<>) {
                next;
        }
 
-       # Is this a FORM= line (which can be ignored)?
-       if ( /^FORM=/ ) {
+       # Is this a FORM= line?
+       if ( /^FORM=(.*)/ ) {
+               $records[$serial]{'l_form'} = $1;
                next;
        }