diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2011-06-27 11:48:27 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2011-06-27 11:48:27 +0200 |
commit | 6f0ba98c8dbe1e1181c78aeb5b228c7af987fe5b (patch) | |
tree | 805bbebddb48dec868ddd18a78117fbd82806992 /scripts | |
parent | netbeans: updated to latest nightly sources (diff) | |
download | fordfrog-6f0ba98c8dbe1e1181c78aeb5b228c7af987fe5b.tar.gz fordfrog-6f0ba98c8dbe1e1181c78aeb5b228c7af987fe5b.tar.bz2 fordfrog-6f0ba98c8dbe1e1181c78aeb5b228c7af987fe5b.zip |
netbeans: added script for batch update of changelogs
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/netbeans/update_changelog.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/scripts/netbeans/update_changelog.sh b/scripts/netbeans/update_changelog.sh new file mode 100755 index 000000000..f304fa12c --- /dev/null +++ b/scripts/netbeans/update_changelog.sh @@ -0,0 +1,19 @@ +#!/bin/bash +DIR=${1} +MESSAGE=${2} + +if [[ -z "${DIR}" ]] || [[ -z "${MESSAGE}" ]] ; then + echo "Usage: <repo_root_directory> <message>" + 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!" |