Skip to content
Snippets Groups Projects
Commit 31501b14 authored by Andreas Romeyke's avatar Andreas Romeyke
Browse files

Merge branch 'master' of git.slub-dresden.de:digital-preservation/validate_workflows

parents 7f63061a 1cf58b00
No related branches found
No related tags found
No related merge requests found
......@@ -497,8 +497,8 @@ scan_file() {
trap "" SIGINT
debug "scan_file, === entering protected area ==="
if [ "$STAGE" = "any" ]; then
is_valid=0
for stage in current upcoming; do
is_valid=1
for stage in upcoming current; do
cmd=$(prepare_cmd "$MODE" "$ftype" "$stage" | sed -e "s#FILE#$filename#")
is_valid=$(exec_cmd "$cmd" "$ftype" "$MODE" "$stage" "$logname")
if [ "$is_valid" -eq 0 ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment