From 8729ca94407e48e4535e7e45742d39c5d8e1bbd19c977c484a289a55c3e2b513 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Li=C5=A1ka?= Date: Tue, 3 Aug 2021 07:29:34 +0000 Subject: [PATCH] - Properly redirect stdout to /dev/null. OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint-mini?expand=0&rev=144 --- rpmlint-mini.changes | 5 +++++ rpmlint.wrapper | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/rpmlint-mini.changes b/rpmlint-mini.changes index 786a001..cf42689 100644 --- a/rpmlint-mini.changes +++ b/rpmlint-mini.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Aug 3 07:29:17 UTC 2021 - Martin Liška + +- Properly redirect stdout to /dev/null. + ------------------------------------------------------------------- Mon Jul 26 06:28:35 UTC 2021 - Steve Kowalik diff --git a/rpmlint.wrapper b/rpmlint.wrapper index 1fec977..21342d8 100644 --- a/rpmlint.wrapper +++ b/rpmlint.wrapper @@ -7,8 +7,8 @@ XDG_CONFIG_HOME="/opt/testing/share" LC_ALL=en_US.utf-8 export PYTHONHOME LD_LIBRARY_PATH LC_ALL XDG_CONFIG_HOME args="" -if ls /home/abuild/rpmbuild/SOURCES/*rpmlintrc 2>&1 2>/dev/null ; then - for rcfile in /home/abuild/rpmbuild/SOURCES/*rpmlintrc ; do +if ls /home/abuild/rpmbuild/SOURCES/*rpmlintrc &>/dev/null; then + for rcfile in /home/abuild/rpmbuild/SOURCES/*rpmlintrc; do args="$args -r $rcfile " done fi