Ignore:
Timestamp:
2013-08-16T18:59:26+12:00 (11 years ago)
Author:
ak19
Message:

Fix noticed when doing diffcol. When the import option saveas was set to GreenstoneMETS in collect.cfg, this was ignored, although passing it as a cmdline option to import.pl worked. The reason was that the saveas option had a default assigned, unlike OIDtype, and if it already had a value, then any value in collect.cfg was never consulted. Now the METS tutorial collection should work from the cmdline.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/bin/script/import.pl

    r27351 r28077  
    118118    'type' => "enum",
    119119    'list' => $saveas_list,
    120     'deft' => "GreenstoneXML",
     120    #'deft' => "GreenstoneXML", # if saveas is defined a default here, then any valid value provided in collect.cfg is ignored
    121121    'reqd' => "no",
    122122    'modegli' => "3" };
Note: See TracChangeset for help on using the changeset viewer.