summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-06-22 19:16:51 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-06-22 20:01:31 +0200
commitcef1cb00fb172681ef161c78e3728d1b11cf93cc (patch)
treea060f0f39a502b5a4b613110c081d5c5d93c689c
parent6e70d834274b87c7a9338ddc14922ff9049531ee (diff)
downloadkde-cef1cb00fb172681ef161c78e3728d1b11cf93cc.tar.gz
kde-cef1cb00fb172681ef161c78e3728d1b11cf93cc.tar.bz2
kde-cef1cb00fb172681ef161c78e3728d1b11cf93cc.zip
Documentation: copy-to-main-tree.sh: Add pkgcheck support
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rwxr-xr-xDocumentation/maintainers/new/copy-to-main-tree.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/maintainers/new/copy-to-main-tree.sh b/Documentation/maintainers/new/copy-to-main-tree.sh
index f4d7a87dad2..828cdb33492 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