From 274be728e842224a04957b0ce593810314c12aab Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 27 Nov 2015 20:54:10 +0100 Subject: reproducible: relax regex to match 'dpkg -l' output as it has changed slightly in sid --- bin/reproducible_setup_pbuilder.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/reproducible_setup_pbuilder.sh') diff --git a/bin/reproducible_setup_pbuilder.sh b/bin/reproducible_setup_pbuilder.sh index 7ff584cd..23baa1ee 100755 --- a/bin/reproducible_setup_pbuilder.sh +++ b/bin/reproducible_setup_pbuilder.sh @@ -110,7 +110,7 @@ setup_pbuilder() { echo echo "Now let's see whether the correct packages where installed..." for PKG in ${PACKAGES} ; do - grep "http://reproducible.alioth.debian.org/debian/ ./ Packages" ${LOG} \ + egrep "http://reproducible.alioth.debian.org/debian(/|) ./ Packages" ${LOG} \ | grep -v grep | grep "${PKG} " \ || ( echo ; echo "Package ${PKG} is not installed at all or probably rather not in our version, so removing the chroot and exiting now." ; sudo rm -v /var/cache/pbuilder/${NAME}-new.tgz ; rm $TMPFILE $LOG ; exit 1 ) done -- cgit v1.2.3-70-g09d2