X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=common%2Ftrack;h=e5a5ef76491765e1364808bc3ee62b448075fdd9;hb=70afb7729a7fda4e2827984d1e8bc41fe78f65f7;hp=627c680d9b955b960aa45c1acf1f7cd411abdfcf;hpb=0bc87527a95d1c5afc7725981ef0a2e3f55fd274;p=osm%2Fdevops.git diff --git a/common/track b/common/track index 627c680d..e5a5ef76 100644 --- a/common/track +++ b/common/track @@ -60,13 +60,14 @@ function track(){ operation="${1:-${osm_track_event_name}}" shift 1 value="${1:-}" + value="${value// /_}" shift 1 comment="${1:-}" - shift 1 comment="${comment// /_}" - tags="${1:-}" shift 1 + tags="${1:-}" tags="${tags//,/\~}" + shift 1 [ "$value" == "none" ] && value="" [ "$comment" == "none" ] && comment="" [ "$tags" == "none" ] && tags=""