Loading bin/reproducible_compare_Debian_sha1sums.sh +6 −6 Original line number Diff line number Diff line Loading @@ -75,12 +75,12 @@ cleanup_all() { reproducible_count=$(echo $reproducible_packages | wc -w) unreproducible_packages=$(awk '/ UNREPRODUCIBLE: /{print $9}' $log) unreproducible_count=$(echo $unreproducible_packages | wc -w) reproducible_binnmu=$((find $SHA1DIR -type f | egrep -c '+b._(all|amd64).deb.REPRODUCIBLE.buster') || echo 0) unreproducible_binnmu=$((find $SHA1DIR -type f | egrep -c '+b._(all|amd64).deb.UNREPRODUCIBLE.buster') || echo 0) reproducible_arch_all=$((find $SHA1DIR -type f | egrep -c '_all.deb.REPRODUCIBLE.buster') || echo 0) unreproducible_arch_all=$((find $SHA1DIR -type f | egrep -c '_all.deb.UNREPRODUCIBLE.buster') || echo 0) reproducible_arch_amd64=$((find $SHA1DIR -type f | egrep -c '_amd64.deb.REPRODUCIBLE.buster') || echo 0) unreproducible_arch_amd64=$((find $SHA1DIR -type f | egrep -c '_amd64.deb.UNREPRODUCIBLE.buster') || echo 0) reproducible_binnmu=$((find $SHA1DIR -type f || echo ) | egrep -c '+b._(all|amd64).deb.REPRODUCIBLE.buster' || true) unreproducible_binnmu=$((find $SHA1DIR -type f || echo ) | egrep -c '+b._(all|amd64).deb.UNREPRODUCIBLE.buster' || true) reproducible_arch_all=$((find $SHA1DIR -type f || echo ) | egrep -c '_all.deb.REPRODUCIBLE.buster' || true) unreproducible_arch_all=$((find $SHA1DIR -type f || echo ) | egrep -c '_all.deb.UNREPRODUCIBLE.buster' || true) reproducible_arch_amd64=$((find $SHA1DIR -type f || echo ) | egrep -c '_amd64.deb.REPRODUCIBLE.buster' || true) unreproducible_arch_amd64=$((find $SHA1DIR -type f || echo ) | egrep -c '_amd64.deb.UNREPRODUCIBLE.buster' || true) percent_unknown=$(echo "scale=4 ; $unknown_count / ($reproducible_count+$unreproducible_count+$unknown_count) * 100" | bc) percent_repro=$(echo "scale=4 ; $reproducible_count / ($reproducible_count+$unreproducible_count+$unknown_count) * 100" | bc) percent_unrepro=$(echo "scale=4 ; $unreproducible_count / ($reproducible_count+$unreproducible_count+$unknown_count) * 100" | bc) Loading Loading
bin/reproducible_compare_Debian_sha1sums.sh +6 −6 Original line number Diff line number Diff line Loading @@ -75,12 +75,12 @@ cleanup_all() { reproducible_count=$(echo $reproducible_packages | wc -w) unreproducible_packages=$(awk '/ UNREPRODUCIBLE: /{print $9}' $log) unreproducible_count=$(echo $unreproducible_packages | wc -w) reproducible_binnmu=$((find $SHA1DIR -type f | egrep -c '+b._(all|amd64).deb.REPRODUCIBLE.buster') || echo 0) unreproducible_binnmu=$((find $SHA1DIR -type f | egrep -c '+b._(all|amd64).deb.UNREPRODUCIBLE.buster') || echo 0) reproducible_arch_all=$((find $SHA1DIR -type f | egrep -c '_all.deb.REPRODUCIBLE.buster') || echo 0) unreproducible_arch_all=$((find $SHA1DIR -type f | egrep -c '_all.deb.UNREPRODUCIBLE.buster') || echo 0) reproducible_arch_amd64=$((find $SHA1DIR -type f | egrep -c '_amd64.deb.REPRODUCIBLE.buster') || echo 0) unreproducible_arch_amd64=$((find $SHA1DIR -type f | egrep -c '_amd64.deb.UNREPRODUCIBLE.buster') || echo 0) reproducible_binnmu=$((find $SHA1DIR -type f || echo ) | egrep -c '+b._(all|amd64).deb.REPRODUCIBLE.buster' || true) unreproducible_binnmu=$((find $SHA1DIR -type f || echo ) | egrep -c '+b._(all|amd64).deb.UNREPRODUCIBLE.buster' || true) reproducible_arch_all=$((find $SHA1DIR -type f || echo ) | egrep -c '_all.deb.REPRODUCIBLE.buster' || true) unreproducible_arch_all=$((find $SHA1DIR -type f || echo ) | egrep -c '_all.deb.UNREPRODUCIBLE.buster' || true) reproducible_arch_amd64=$((find $SHA1DIR -type f || echo ) | egrep -c '_amd64.deb.REPRODUCIBLE.buster' || true) unreproducible_arch_amd64=$((find $SHA1DIR -type f || echo ) | egrep -c '_amd64.deb.UNREPRODUCIBLE.buster' || true) percent_unknown=$(echo "scale=4 ; $unknown_count / ($reproducible_count+$unreproducible_count+$unknown_count) * 100" | bc) percent_repro=$(echo "scale=4 ; $reproducible_count / ($reproducible_count+$unreproducible_count+$unknown_count) * 100" | bc) percent_unrepro=$(echo "scale=4 ; $unreproducible_count / ($reproducible_count+$unreproducible_count+$unknown_count) * 100" | bc) Loading