From 937af2771bde673e474f589f7d0a74d8c3307ecb Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 3 Jun 2015 16:33:22 +0200 Subject: reproducible: ignore noise from rmadision. probably better use the api directly... --- bin/reproducible_html_repository_comparison.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/reproducible_html_repository_comparison.sh b/bin/reproducible_html_repository_comparison.sh index bed2b5f9..22aebe46 100755 --- a/bin/reproducible_html_repository_comparison.sh +++ b/bin/reproducible_html_repository_comparison.sh @@ -54,14 +54,14 @@ for PKG in $SOURCES ; do BET=${VERSION} fi done - SID=$(rmadison -s unstable $PKG | cut -d "|" -f2|xargs echo) + SID=$(rmadison -s unstable $PKG | egrep -v '^(debian|new):' | cut -d "|" -f2|xargs echo) for VERSION in ${VERSIONS} ; do if [ "${VERSION}" != "$BET" ] ; then CRUFT="$CRUFT ${VERSION}" fi done - TESTING=$(rmadison -s testing $PKG | cut -d "|" -f2|xargs echo) - EXPERIMENTAL=$(rmadison -s experimental $PKG | cut -d "|" -f2|xargs echo) + TESTING=$(rmadison -s testing $PKG | egrep -v '^(debian|new):' | cut -d "|" -f2|xargs echo) + EXPERIMENTAL=$(rmadison -s experimental $PKG | egrep -v '^(debian|new):' | cut -d "|" -f2|xargs echo) # # format output # -- cgit v1.2.3-70-g09d2