aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Meier <maekke@gentoo.org>2017-07-15 11:51:28 +0200
committerMarkus Meier <maekke@gentoo.org>2017-07-15 11:51:28 +0200
commit4c68d5241724ecdd6786cdfd0c6b88fadc749f9e (patch)
tree34c2cf2d2f1c95931b1fd9768fe07b9e7f6c7427 /scripts
parentmedia-gfx/hugin: version bump (diff)
downloadmaekke-4c68d5241724ecdd6786cdfd0c6b88fadc749f9e.tar.gz
maekke-4c68d5241724ecdd6786cdfd0c6b88fadc749f9e.tar.bz2
maekke-4c68d5241724ecdd6786cdfd0c6b88fadc749f9e.zip
ensure to have FEATURES="sign" enabled and clean the working dir before doing the keyword magic
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/keyword.sh3
1 files changed, 3 insertions, 0 deletions
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)