Skip to content

Commit

Permalink
Add ./catalogues/test.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Phu2 committed Apr 17, 2024
1 parent 9af7a47 commit 28ece67
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions catalogues/test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/usr/bin/env bash

. ./setdir.sh

NAME=test
TYPE=xml
if [[ $TYPE == "marc" ]]; then
echo "marc"
TYPE_PARAMS="--marcVersion DNB"
MARC_DIR=${BASE_INPUT_DIR}/test/marc
MASK=*.mrc
elif [[ $TYPE == "xml" ]]; then
echo "xml"
TYPE_PARAMS="--marcVersion DNB --marcxml"
MARC_DIR=${BASE_INPUT_DIR}/test/marc
MASK=*.xml
else
echo "else: ${TYPE}"
fi

. ./common-script

0 comments on commit 28ece67

Please sign in to comment.