projects
/
osm
/
devops.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix propagation of failures in installer scripts
[osm/devops.git]
/
common
/
track
diff --git
a/common/track
b/common/track
index
627c680
..
e5a5ef7
100644
(file)
--- a/
common/track
+++ b/
common/track
@@
-60,13
+60,14
@@
function track(){
operation="${1:-${osm_track_event_name}}"
shift 1
value="${1:-}"
operation="${1:-${osm_track_event_name}}"
shift 1
value="${1:-}"
+ value="${value// /_}"
shift 1
comment="${1:-}"
shift 1
comment="${1:-}"
- shift 1
comment="${comment// /_}"
comment="${comment// /_}"
- tags="${1:-}"
shift 1
shift 1
+ tags="${1:-}"
tags="${tags//,/\~}"
tags="${tags//,/\~}"
+ shift 1
[ "$value" == "none" ] && value=""
[ "$comment" == "none" ] && comment=""
[ "$tags" == "none" ] && tags=""
[ "$value" == "none" ] && value=""
[ "$comment" == "none" ] && comment=""
[ "$tags" == "none" ] && tags=""