From: Prarit Bhargava <pra...@redhat.com>

redhat/self-test: Ignore .rhpkg.mk files

If a user specifies, for example, a ~/.rhpkg.mk file, the file will be
included in the MAKEFILE_LIST variable.  This breaks the
dist-dump-variables test, so these files should be excluded.

Ignore user specified .rhpkg.mk files.

Signed-off-by: Prarit Bhargava <pra...@redhat.com>

diff --git a/redhat/self-test/data/create-data.sh 
b/redhat/self-test/data/create-data.sh
index blahblah..blahblah 100755
--- a/redhat/self-test/data/create-data.sh
+++ b/redhat/self-test/data/create-data.sh
@@ -61,7 +61,8 @@ do
                                grep -v -w RHGITURL |\
                                grep -v -w RHDISTDATADIR |\
                                grep -v -w VARS |\
-                               sort -u >& "${destdir}/${varfilename}" &
+                               sort -u >& "${destdir}/${varfilename}" && \
+                               sed -i 's/ \S*\(rhpkg.mk\)\S*//g' 
"${destdir}/${varfilename}" &
 
                        waitpids[${count}]=$!
                        ((count++))

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2023
_______________________________________________
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to