Gentoo Archives: gentoo-commits

From: Maxim Koltsov <maksbotan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/maksbotan:master commit in: Documentation/
Date: Thu, 02 Feb 2012 17:57:30
Message-Id: 931d85e62103c36ef5250e319164666827d98fc6.maksbotan@gentoo
1 commit: 931d85e62103c36ef5250e319164666827d98fc6
2 Author: Maxim Koltsov <maksbotan <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 2 17:58:55 2012 +0000
4 Commit: Maxim Koltsov <maksbotan <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 2 17:58:55 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=dev/maksbotan.git;a=commit;h=931d85e6
7
8 Fix bug in leech script
9
10 ---
11 Documentation/leech_bump.sh | 7 ++++++-
12 1 files changed, 6 insertions(+), 1 deletions(-)
13
14 diff --git a/Documentation/leech_bump.sh b/Documentation/leech_bump.sh
15 index 876cf8c..8e2fbd1 100755
16 --- a/Documentation/leech_bump.sh
17 +++ b/Documentation/leech_bump.sh
18 @@ -96,6 +96,9 @@ case $mode in
19 if [[ ${run_changelog} != "0" ]]; then
20 run_changelog="1"
21 fi
22 + if [[ -z "${message}" ]]; then
23 + message_stub=1
24 + fi
25 ;;
26 commit)
27 if [[ -z "${message}" ]]; then
28 @@ -151,8 +154,9 @@ for atom in */*; do
29
30 case ${mode} in
31 bump)
32 - if [[ -z "${message}" ]]; then
33 + if [[ "${message_stub}" == "1" ]]; then
34 message="Bump ${atom} to ${version}, thanks to 0xd34df00d"
35 +
36 fi
37
38 einfo "Bumping ${atom} to ${version}"
39 @@ -192,6 +196,7 @@ for atom in */*; do
40 echangelog ${message} > /dev/null
41 eend $?
42 fi
43 +
44 ;;
45 commit)
46 einfo "Commiting ${atom} with message \"${message}\""