Skip to content

Commit c4e35f7

Browse files
committed
Simplify and remove debug instruction
1 parent af4163d commit c4e35f7

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

.gitlab/upload_ciapp.sh

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -82,17 +82,8 @@ add_final_status_tags() {
8282
find ./results -name '*.xml' | while read -r xml_file; do
8383
local tmp_file
8484
tmp_file="$(mktemp)"
85-
if xsltproc --output "$tmp_file" "$xsl_file" "$xml_file" 2>/dev/null; then
86-
echo "before $xml_file"
87-
cat $xml_file
88-
echo "after $tmp_file"
89-
cat $tmp_file
90-
mv "$tmp_file" "$xml_file"
91-
else
92-
echo Fail $xml_file
93-
xsltproc --output "$tmp_file" "$xsl_file" "$xml_file"
94-
rm -f "$tmp_file"
95-
fi
85+
xsltproc --output "$tmp_file" "$xsl_file" "$xml_file"
86+
mv "$tmp_file" "$xml_file"
9687
done
9788
}
9889

0 commit comments

Comments
 (0)