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 1Qb8R6-0000ad-DU for garchives@archives.gentoo.org; Mon, 27 Jun 2011 09:48:57 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AEFC81C009; Mon, 27 Jun 2011 09:48:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 806B31C009 for ; Mon, 27 Jun 2011 09:48:47 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E45561BC01C for ; Mon, 27 Jun 2011 09:48:46 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 4CB528003E for ; Mon, 27 Jun 2011 09:48:46 +0000 (UTC) From: "Miroslav Šulc" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Miroslav Šulc" Message-ID: <6f0ba98c8dbe1e1181c78aeb5b228c7af987fe5b.fordfrog@gentoo> Subject: [gentoo-commits] dev/fordfrog:master commit in: scripts/netbeans/ X-VCS-Repository: dev/fordfrog X-VCS-Files: scripts/netbeans/update_changelog.sh X-VCS-Directories: scripts/netbeans/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: 6f0ba98c8dbe1e1181c78aeb5b228c7af987fe5b Date: Mon, 27 Jun 2011 09:48:46 +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: X-Archives-Hash: 4d7289e91c1b99cfd1d3a10b10e13a77 commit: 6f0ba98c8dbe1e1181c78aeb5b228c7af987fe5b Author: Miroslav =C5=A0ulc gentoo org> AuthorDate: Mon Jun 27 09:48:27 2011 +0000 Commit: Miroslav =C5=A0ulc gentoo org> CommitDate: Mon Jun 27 09:48:27 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Ddev/fordfrog.git;a= =3Dcommit;h=3D6f0ba98c netbeans: added script for batch update of changelogs --- scripts/netbeans/update_changelog.sh | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/scripts/netbeans/update_changelog.sh b/scripts/netbeans/upda= te_changelog.sh new file mode 100755 index 0000000..f304fa1 --- /dev/null +++ b/scripts/netbeans/update_changelog.sh @@ -0,0 +1,19 @@ +#!/bin/bash +DIR=3D${1} +MESSAGE=3D${2} + +if [[ -z "${DIR}" ]] || [[ -z "${MESSAGE}" ]] ; then + echo "Usage: " + exit 1 +fi + +pushd "${1}" >/dev/null || exit 1 +for dir in dev-*/netbeans*; do + pushd "${dir}" + echangelog "${MESSAGE}" + ebuild `ls *.ebuild | tail -n1` digest + popd +done +popd >/dev/null || exit 1 + +echo "DONE!"