From: Herton R. Krzesinski <herton(a)redhat.com>
redhat: fix typo and make the output more silent for dist-git sync
The addition of gitlab centos dist-git sync added a typo, plus
the dist-git check about the GL_DISTGIT_USER setting was verbose,
make it silent now.
Signed-off-by: Herton R. Krzesinski <herton(a)redhat.com>
diff --git a/redhat/Makefile b/redhat/Makefile
index blahblah..blahblah 100644
--- a/redhat/Makefile
+++ b/redhat/Makefile
@@ -403,9 +403,9 @@ dist-git: dist-srpm $(KABI_TARBALL) $(KABIDW_TARBALL)
ifeq ("$(RHDISTGIT_BRANCH)", "")
$(error RHDISTGIT_BRANCH unset)
endif
- if [ "$(DISTRO)" == "centos" ]; then \
+ @if [ "$(DISTRO)" == "centos" ]; then \
if [ -z "$(GL_DISTGIT_USER)" ]; then \
- echo "Error: please Please provide your gitlab username with
GL_DISTGIT_USER"; \
+ echo "Error: please provide your gitlab username with GL_DISTGIT_USER"; \
exit 1; \
fi; \
fi
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1417