Skip to content
Snippets Groups Projects
Commit b28fe8f8 authored by Jörg Sachse's avatar Jörg Sachse
Browse files

fix: check upcoming profiles/validators first

parent 08ee3635
No related branches found
No related tags found
1 merge request!2Resolve "check upcoming first"
...@@ -426,7 +426,7 @@ scan_file() { ...@@ -426,7 +426,7 @@ scan_file() {
debug "scan_file, === entering protected area ===" debug "scan_file, === entering protected area ==="
if [ "$STAGE" = "any" ]; then if [ "$STAGE" = "any" ]; then
is_valid=0 is_valid=0
for stage in current upcoming; do for stage in upcoming current; do
cmd=$(prepare_cmd "$MODE" "$ftype" "$stage" | sed -e "s#FILE#$filename#") cmd=$(prepare_cmd "$MODE" "$ftype" "$stage" | sed -e "s#FILE#$filename#")
is_valid=$(exec_cmd "$cmd" "$ftype" "$MODE" "$stage" "$logname") is_valid=$(exec_cmd "$cmd" "$ftype" "$MODE" "$stage" "$logname")
if [ "$is_valid" -eq 0 ]; then 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