Commit 0906b6c7 authored by Maxime Perrotin's avatar Maxime Perrotin

Remove pipe to get the right exit code

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