commit: cef1cb00fb172681ef161c78e3728d1b11cf93cc
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 22 17:16:51 2020 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Jun 22 18:01:31 2020 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=cef1cb00
Documentation: copy-to-main-tree.sh: Add pkgcheck support
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
Documentation/maintainers/new/copy-to-main-tree.sh | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Documentation/maintainers/new/copy-to-main-tree.sh
b/Documentation/maintainers/new/copy-to-main-tree.sh
index f4d7a87dad..828cdb3349 100755
--- a/Documentation/maintainers/new/copy-to-main-tree.sh
+++ b/Documentation/maintainers/new/copy-to-main-tree.sh
@@ -5,6 +5,7 @@
# Optional:
# dev-vcs/git
# app-portage/mgorny-dev-scripts
+# dev-util/pkgcheck
. $(dirname "$0")/lib.sh
@@ -71,4 +72,10 @@ if [[ -d "${TARGET_REPO}/.git" ]] && hash git 2>/dev/null &&
hash pkgcommit 2>/d
popd > /dev/null
done
+
+ if hash pkgcheck 2>/dev/null; then
+ pushd "${TARGET_REPO}" > /dev/null
+ pkgcheck scan --commits
+ popd > /dev/null
+ fi
fi