From 369dd75562099da2874449b5cf78a747743711bd Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 28 Apr 2012 15:22:05 -0400 Subject: [PATCH] run repoman for echangelog --- .bin/er-close | 1 + .profile.d/gentoo.sh | 9 +++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.bin/er-close b/.bin/er-close index da018b1..b967365 100755 --- a/.bin/er-close +++ b/.bin/er-close @@ -5,6 +5,7 @@ op=${0##*/} ops=( ${op//-/ } ) op=${ops[0]} +[[ ${op} == "er" ]] && op+=" -q" tdir="${HOME}/.cache/bugz" mkdir -p "${tdir}" find "${tdir}" -mmin +30 -type f -delete diff --git a/.profile.d/gentoo.sh b/.profile.d/gentoo.sh index aa2a08b..3c72a60 100644 --- a/.profile.d/gentoo.sh +++ b/.profile.d/gentoo.sh @@ -101,12 +101,13 @@ _echangelog() { echangelog "$@" || return 1 } er() { - _echangelog "$@" || return 1 - repoman commit -m "$@" || return 1 + repoman commit --echangelog=y "${@:1:$#-1}" -m "${@:$#}" || return 1 } ec() { - _echangelog "$@" || return 1 - cvs commit -m "$@" || return 1 + ( + _echangelog "$@" || exit 1 + cvs commit -m "$@" || exit 1 + ) } att() { -- 2.39.5