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

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 ...@@ -76,8 +76,9 @@ fi
DATAVIEW+=" $(taste-config --prefix)/share/taste-types/taste-types.asn" DATAVIEW+=" $(taste-config --prefix)/share/taste-types/taste-types.asn"
# can asn2aadlPlus with a call to uniq to filter out duplicate outputs
asn2aadlPlus $DATAVIEW "$AADL" -aadlv2 # due to multiple calls to the ASN.1 compiler
asn2aadlPlus $DATAVIEW "$AADL" -aadlv2 2>&1 | uniq >&2
if [ "$?" = "1" ] if [ "$?" = "1" ]
then then
......
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