From 7667809414bd2a7e86a9755357f2d75511cc081c Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 7 Jan 2015 11:42:01 +0100 Subject: reproducible: fixup convert_into_source_packages_only() once more --- bin/reproducible_create_meta_pkg_sets.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/reproducible_create_meta_pkg_sets.sh b/bin/reproducible_create_meta_pkg_sets.sh index 12193367..04c0c3c2 100755 --- a/bin/reproducible_create_meta_pkg_sets.sh +++ b/bin/reproducible_create_meta_pkg_sets.sh @@ -22,8 +22,8 @@ convert_into_source_packages_only() { for PKG in $(cat $TMPFILE) ; do SRC="" if [ ! -z "$PKG" ] ; then - SRC=$(grep-dctrl -X -n -FPackage -sSource $PKG $PACKAGES ) - [ ! -z "$SRC" ] || SRC=$(grep-dctrl -X -n -FPackage -sPackage $PKG $PACKAGES ) + SRC=$(grep-dctrl -X -n -FPackage -sSource $PKG $PACKAGES || true ) + [ ! -z "$SRC" ] || SRC=$(grep-dctrl -X -n -FPackage -sPackage $PKG $PACKAGES || true) fi [ ! -z "$SRC" ] || SRC=$(echo $PKG ) echo $SRC >> $TMP2 -- cgit v1.2.3-70-g09d2