Commit 5030af0d authored by Kateřina Sloupová's avatar Kateřina Sloupová
Browse files

conversion of tasks: add removing of -N

parent 9ed4371e
Loading
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -15,7 +15,10 @@ for i in "$@"; do
    # first regex replaces definition inside the ebmedded old QDEF format,
    # which is not really used, but should be kept in sync
    # the second one prelaces the proper definition in the new format
    # the third one removes unnecessary "-N" from task prefix
    sed -i -e 's/^:\(e[^=]*\)="f:/:\1="d:?/' \
           -e 's|\(<check><type>external</type><service>\)f\(</service><correct><!\[CDATA\[\)|\1d\2?|' \
        $i

    sed -i -E 's/([A-Z]{3}-[A-Z]{3})-N/\1/g' $i
done