Skip to content

Commit

Permalink
Add workflow behaviour again
Browse files Browse the repository at this point in the history
  • Loading branch information
markusweigelt committed Mar 1, 2024
1 parent 0432489 commit 55e3144
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ocrd_lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ init() {
# try to be unique here (to avoid clashes)
REMOTEDIR="KitodoJob_${PID}_$(basename $PROCESS_DIR)"

WORKFLOW=$(command -v "$WORKFLOW" || realpath "$WORKFLOW")
if ! test -f "$WORKFLOW"; then
logger -p user.error -t $TASK "invalid workflow '$WORKFLOW'"
exit 3
Expand Down

0 comments on commit 55e3144

Please sign in to comment.