Commit 37894e65 authored by thorsten.vitt's avatar thorsten.vitt
Browse files

workflow: Fixed individual author targets

parent 9f4a6c0d
......@@ -310,18 +310,22 @@ task() {
echo "Running subtask '$spec' ..."
if [ -r "$spec" ]
then
echo "(a) file $spec"
pipeline "$spec"
elif [ -r "$corpusdir/$spec" ]
then
echo "(b) file $corpusdir/$spec"
pipeline "$corpusdir/$spec"
elif [ -r "$corpusdir/Literatur-${spec}.xml" ]
then
pipeline "$corpusdir/$spec"
echo "(c) file $corpusdir/Literatur-${spec}.xml"
pipeline "$corpusdir/Literatur-${spec}.xml"
else
echo "... trying to read $spec as a pattern ..."
echo "(d) ... trying to read $spec as a pattern ..."
find "$corpusdir" -name "$spec" -or -name "Literatur-${spec}.xml" |\
while read f
do
echo " - match: $f"
task "$f"
done
fi
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment