From: Michael Shigorin <mike@altlinux.org> To: devel-distro@lists.altlinux.org Subject: [devel-distro] [PATCH 2/3] reports.mk: don't call rpmquery with empty list Date: Mon, 25 Oct 2021 12:13:15 +0300 Message-ID: <20211025091316.7298-3-mike@altlinux.org> (raw) In-Reply-To: <20211025091316.7298-1-mike@altlinux.org> xargs -r is a good habit usually. Fixes: c771783654d9477c4798099db46687834200df5c --- reports.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reports.mk b/reports.mk index 60ccfec16..585d998a5 100644 --- a/reports.mk +++ b/reports.mk @@ -108,7 +108,7 @@ reports/packages: reports/prep cut -d' ' -f 1 | tr -d "'"'`' | \ tee /dev/stderr 2> >(sed 's,^.*/,,' | \ sort -u > "$(REPORTDIR)/list-rpms.txt") | \ - xargs rpm -qp --queryformat '%{sourcerpm}\n' | \ + xargs -r rpm -qp --queryformat '%{sourcerpm}\n' | \ sort -u > "$(REPORTDIR)/list-srpms.txt" else -- 2.25.4
next prev parent reply other threads:[~2021-10-25 9:13 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-10-25 9:13 [devel-distro] [PATCH 0/3] замеченное Michael Shigorin 2021-10-25 9:13 ` [devel-distro] [PATCH 1/3] ve.mk: refactor those ve/lxc-* dups Michael Shigorin 2021-10-25 9:13 ` Michael Shigorin [this message] 2021-10-25 9:13 ` [devel-distro] [PATCH 3/3] ve.mk: initial ve/lxc-builder Michael Shigorin 2021-10-25 14:31 ` [devel-distro] [PATCH 0/3] замеченное Антон Мидюков
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20211025091316.7298-3-mike@altlinux.org \ --to=mike@altlinux.org \ --cc=devel-distro@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Distributions development This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel-distro/0 devel-distro/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel-distro devel-distro/ http://lore.altlinux.org/devel-distro \ devel-distro@lists.altlinux.org devel-distro@lists.altlinux.ru devel-distro@lists.altlinux.com public-inbox-index devel-distro Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel-distro AGPL code for this site: git clone https://public-inbox.org/public-inbox.git