Accepting request 908346 from home:StevenK:branches:devel:openSUSE:Factory:rpmlint
- Try two for supporting multiple rpmlintrc, since shell for loops always loop, even if the files don't exist. OBS-URL: https://build.opensuse.org/request/show/908346 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint-mini?expand=0&rev=143
This commit is contained in:
parent
c31324b882
commit
a2a2eb3c74
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 26 06:28:35 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Try two for supporting multiple rpmlintrc, since shell for loops
|
||||
always loop, even if the files don't exist.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 23 04:55:34 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
|
@ -7,7 +7,9 @@ XDG_CONFIG_HOME="/opt/testing/share"
|
||||
LC_ALL=en_US.utf-8
|
||||
export PYTHONHOME LD_LIBRARY_PATH LC_ALL XDG_CONFIG_HOME
|
||||
args=""
|
||||
for rcfile in /home/abuild/rpmbuild/SOURCES/*rpmlintrc ; do
|
||||
args="$args -r $rcfile "
|
||||
done
|
||||
if ls /home/abuild/rpmbuild/SOURCES/*rpmlintrc 2>&1 2>/dev/null ; then
|
||||
for rcfile in /home/abuild/rpmbuild/SOURCES/*rpmlintrc ; do
|
||||
args="$args -r $rcfile "
|
||||
done
|
||||
fi
|
||||
exec /opt/testing/bin/rpmlint.real $args --mini-mode $@
|
||||
|
Loading…
Reference in New Issue
Block a user