From 0e6c1daa6411c3d9c16c8e4c56c5ef489c6a3bf1 Mon Sep 17 00:00:00 2001 From: Jonathan Perkin Date: Wed, 5 Jul 2017 16:12:14 +0100 Subject: [PATCH] fix "set -e" failure in new pkg_summary generation. --- pkgtools/pbulk/files/pbulk/scripts/build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgtools/pbulk/files/pbulk/scripts/build b/pkgtools/pbulk/files/pbulk/scripts/build index e886518cea5c..49831dcb63ba 100755 --- a/pkgtools/pbulk/files/pbulk/scripts/build +++ b/pkgtools/pbulk/files/pbulk/scripts/build @@ -63,7 +63,7 @@ echo "Building pkg_summary..." cd ${packages}/All { sed -e 's,^,../pkginfo/,' -e 's/$/.pkglist/' < ${loc}/success \ - | sort | xargs cat 2>/dev/null > pkg_files + | sort | xargs cat 2>/dev/null > pkg_files || true cat pkg_files | ${gzip} -c > pkg_files.gz & cat pkg_files | ${bzip2} -c > pkg_files.bz2 & cat pkg_files | ${xz} -zc > pkg_files.xz & @@ -72,7 +72,7 @@ cd ${packages}/All } & { sed -e 's,^,../pkginfo/,' -e 's/$/.pkginfo/' < ${loc}/success \ - | sort | xargs cat 2>/dev/null > pkg_summary + | sort | xargs cat 2>/dev/null > pkg_summary || true cat pkg_summary | ${gzip} -c > pkg_summary.gz & cat pkg_summary | ${bzip2} -c > pkg_summary.bz2 & cat pkg_summary | ${xz} -zc > pkg_summary.xz &