Skip to content

Commit

Permalink
Merge pull request #58 from OCR-D/overwrite
Browse files Browse the repository at this point in the history
implement --overwrite, OCR-D/core#522
  • Loading branch information
kba authored Jun 17, 2020
2 parents 6adee3d + c10c1d7 commit ef7b857
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ocrd-olena-binarize
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,9 @@ function main {
else
options=()
fi
if [[ "${ocrd__argv[overwrite]}" == true ]];then
options+=( --force )
fi
options+=( -G $page_out_file_grp
-m $MIMETYPE_PAGE
-i "$out_id"
Expand Down

0 comments on commit ef7b857

Please sign in to comment.