From: Augusto Caringi <[email protected]>

This commit fixes the following problem (make dist-srpm):

Creating linux-20201213git7f376f1917d7.tar.xz...
/bin/sh: -c: line 0: syntax error near unexpected token `diff'
/bin/sh: -c: line 0: `(GIT) diff --no-renames HEAD
":(exclude,top).get_maintainer.conf" \'
make[1]: *** [Makefile:224: generate-testpatch-tmp] Error 1
make[1]: Leaving directory 'kernel-ark/redhat'
make: *** [makefile:12: dist-srpm] Error

Signed-off-by: Augusto Caringi <[email protected]>
---
 redhat/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/redhat/Makefile b/redhat/Makefile
index f6bc167c163f..8f3c41738551 100644
--- a/redhat/Makefile
+++ b/redhat/Makefile
@@ -221,7 +221,7 @@ setup-source: dist-git-version-check dist-clean-sources
        @cp $(SOURCES)/$(SPECFILE) $(SOURCES)/../SPECS/
 
 generate-testpatch-tmp:
-       @(GIT) diff --no-renames HEAD ":(exclude,top).get_maintainer.conf" \
+       @$(GIT) diff --no-renames HEAD ":(exclude,top).get_maintainer.conf" \
                ":(exclude,top).gitattributes" \
                ":(exclude,top).gitignore" \
                ":(exclude,top)makefile" \
-- 
GitLab
_______________________________________________
kernel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]

Reply via email to