Commit 23551895 authored by Holger Levsen's avatar Holger Levsen
Browse files

reproducible Debian: improve percentages ;)

parent 6cfe8341
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -54,8 +54,8 @@ reproducible_count=$(echo $reproducible_packages | wc -w)
unreproducible_packages=$(awk '/^UNREPRODUCIBLE:/{print $2}' $log)
unreproducible_count=$(echo $unreproducible_packages | wc -w)

percent_repro=$(echo "scale=3 ; $reproducible_count / ($reproducible_count+$unreproducible_count)" | bc)
percent_unrepro=$(echo "scale=3 ; $reproducible_count / ($reproducible_count+$unreproducible_count)" | bc)
percent_repro=$(echo "scale=4 ; $reproducible_count / ($reproducible_count+$unreproducible_count) * 100" | bc)
percent_unrepro=$(echo "scale=4 ; $reproducible_count / ($reproducible_count+$unreproducible_count) * 100" | bc)

echo "-------------------------------------------------------------"
echo "reproducible packages: $reproducible_count: $reproducible_packages"