Bug in generate.sh removal of jobs

This commit is contained in:
Bereng 2024-02-19 07:34:36 +01:00
parent 5430e69e77
commit dee7947422
1 changed files with 2 additions and 2 deletions

View File

@ -255,8 +255,8 @@ delete_job()
sed -Ei.bak "/^ - ${2}/d" "$1"
}
file="$BASEDIR/$1"
delete_yaml_block "$file" "${2}"
delete_yaml_block "$file" "start_${2}"
delete_yaml_block "$file" "${2}:"
delete_yaml_block "$file" "start_${2}:"
}
# Define function to remove any unneeded repeated jobs.