From: Augusto Caringi <acaringi(a)redhat.com>
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 <acaringi(a)redhat.com>
---
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