]> git.wh0rd.org Git - home.git/commitdiff
run repoman for echangelog
authorMike Frysinger <vapier@gentoo.org>
Sat, 28 Apr 2012 19:22:05 +0000 (15:22 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sat, 28 Apr 2012 19:36:48 +0000 (15:36 -0400)
.bin/er-close
.profile.d/gentoo.sh

index da018b173b60f62f995b75ee35d0f2531fd68368..b9673657339122af6b08afe16aed9705bc2d6829 100755 (executable)
@@ -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
index aa2a08b8818a3bd6b1cc4f87195e1ff0e67c5c4f..3c72a60603c4438f39e64f6d3d602a2216a3c7ac 100644 (file)
@@ -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() {