From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Rt0uX-0002zL-Op for garchives@archives.gentoo.org; Thu, 02 Feb 2012 17:57:30 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 19F49E07C3; Thu, 2 Feb 2012 17:57:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id DD684E07C3 for ; Thu, 2 Feb 2012 17:57:22 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6A2621B403E for ; Thu, 2 Feb 2012 17:57:22 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id A86A680042 for ; Thu, 2 Feb 2012 17:57:21 +0000 (UTC) From: "Maxim Koltsov" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maxim Koltsov" Message-ID: <931d85e62103c36ef5250e319164666827d98fc6.maksbotan@gentoo> Subject: [gentoo-commits] dev/maksbotan:master commit in: Documentation/ X-VCS-Repository: dev/maksbotan X-VCS-Files: Documentation/leech_bump.sh X-VCS-Directories: Documentation/ X-VCS-Committer: maksbotan X-VCS-Committer-Name: Maxim Koltsov X-VCS-Revision: 931d85e62103c36ef5250e319164666827d98fc6 Date: Thu, 2 Feb 2012 17:57:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: e08fcb2a-7864-492e-866d-bb3e7ce97406 X-Archives-Hash: 696eca0a59769c8ff1e795a82cafee46 commit: 931d85e62103c36ef5250e319164666827d98fc6 Author: Maxim Koltsov gentoo org> AuthorDate: Thu Feb 2 17:58:55 2012 +0000 Commit: Maxim Koltsov gentoo org> CommitDate: Thu Feb 2 17:58:55 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Ddev/maksbotan.git;= a=3Dcommit;h=3D931d85e6 Fix bug in leech script --- Documentation/leech_bump.sh | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/Documentation/leech_bump.sh b/Documentation/leech_bump.sh index 876cf8c..8e2fbd1 100755 --- a/Documentation/leech_bump.sh +++ b/Documentation/leech_bump.sh @@ -96,6 +96,9 @@ case $mode in if [[ ${run_changelog} !=3D "0" ]]; then run_changelog=3D"1" fi + if [[ -z "${message}" ]]; then + message_stub=3D1 + fi ;; commit) if [[ -z "${message}" ]]; then @@ -151,8 +154,9 @@ for atom in */*; do =20 case ${mode} in bump) - if [[ -z "${message}" ]]; then + if [[ "${message_stub}" =3D=3D "1" ]]; then message=3D"Bump ${atom} to ${version}, thanks to 0xd34df00d" + fi =20 einfo "Bumping ${atom} to ${version}" @@ -192,6 +196,7 @@ for atom in */*; do echangelog ${message} > /dev/null eend $? fi + ;; commit) einfo "Commiting ${atom} with message \"${message}\""