Commit 95ca0750 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Filter out duplicate lines in output of taste-update-data-view

asn2aadlPlus must call the asn1 compiler 5 times and therefore prints
the same errors/warnings multiple times
parent d804eddd
......@@ -76,8 +76,9 @@ fi
DATAVIEW+=" $(taste-config --prefix)/share/taste-types/taste-types.asn"
asn2aadlPlus $DATAVIEW "$AADL" -aadlv2
# can asn2aadlPlus with a call to uniq to filter out duplicate outputs
# due to multiple calls to the ASN.1 compiler
asn2aadlPlus $DATAVIEW "$AADL" -aadlv2 2>&1 | uniq >&2
if [ "$?" = "1" ]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment