From 4c68d5241724ecdd6786cdfd0c6b88fadc749f9e Mon Sep 17 00:00:00 2001 From: Markus Meier Date: Sat, 15 Jul 2017 11:51:28 +0200 Subject: ensure to have FEATURES="sign" enabled and clean the working dir before doing the keyword magic --- scripts/keyword.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts') diff --git a/scripts/keyword.sh b/scripts/keyword.sh index 780a96c..fad3538 100755 --- a/scripts/keyword.sh +++ b/scripts/keyword.sh @@ -6,6 +6,8 @@ BUGZ_USER="maekke@gentoo.org" BUGZ="bugz" BUGZ_DEFAULT_OPTS="--base https://bugs.gentoo.org/xmlrpc.cgi --user ${BUGZ_USER}" +FEATURES="${FEATURES} sign" + die() { echo $@ exit 1 @@ -67,6 +69,7 @@ for pkg in ${pkgs} ; do cd "${REPODIR}/${cpn}" || die "package ${cpn} not found" [[ -e ${pn}-${version}.ebuild ]] || die "ebuild (${pn}-${version}) not found" + git checkout HEAD . || die "git checkout HEAD failed" repoman full --include-arches "${arches//\~/}" || die "repoman full failed on non-modified tree" # detect which arches to commit (the ones w/o stable) -- cgit v1.2.3-65-gdbad