Setting input directory in ./qa-catalogue script
pkiraly opened this issue · 0 comments
pkiraly commented
There are two usage scenario for the tool: a) analysing a single catalogue, b) analysing multiple catalogues.
Right now ./qa-catalogue
is a bit confusing and more prepared for scenario b. thans for scenario a.
--input-dir |
MARC_DIR in qa-catalogue | MARC_DIR in common-script |
---|---|---|
not set | not set | /opt/qa-catalogue/marc/qa-catalogue/ |
"" | /opt/qa-catalogue/marc/ | /opt/qa-catalogue/marc/ |
xyz | /opt/qa-catalogue/marc/xyz | /opt/qa-catalogue/marc/xyz |
This is a confusing behaviour. The empty and unset input-dir
should result the same: it should use the default input base directory. If input-dir
is set, it should point to a subdirectory of the base input dir.