summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/reproducible_create_meta_pkg_sets.sh4
1 files 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