diff options
author | Alex Tarkovsky <alextarkovsky@gmail.org> | 2006-06-30 19:44:25 +0000 |
---|---|---|
committer | Alex Tarkovsky <alextarkovsky@gmail.org> | 2006-06-30 19:44:25 +0000 |
commit | d4b257f8bdbe9548c0a9ff0f70289398cda5ea6f (patch) | |
tree | fe8dc7e05625a859d1583a29a86ce40acddb5299 /scripts | |
parent | scripts/svncommit.sh: Removing file (last attempt failed). scripts/sunrise-co... (diff) | |
download | sunrise-d4b257f8bdbe9548c0a9ff0f70289398cda5ea6f.tar.gz sunrise-d4b257f8bdbe9548c0a9ff0f70289398cda5ea6f.tar.bz2 sunrise-d4b257f8bdbe9548c0a9ff0f70289398cda5ea6f.zip |
scripts/sunrise-commit: Fixed changelog code; muzzled some potentially confusing output when no ebuilds are present.
svn path=/sunrise/; revision=403
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/sunrise-commit | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/sunrise-commit b/scripts/sunrise-commit index 6b06b5b79..f282b36d8 100755 --- a/scripts/sunrise-commit +++ b/scripts/sunrise-commit @@ -26,13 +26,13 @@ opt_verbose=0 changelog_append() { if [[ "$opt_changelog" == "1" ]] ; then ebegin "Appending/creating ChangeLog" - echangelog "$1" + echangelog "$*" eend $? fi } create_digests() { - if [[ $(find *.ebuild -maxdepth 0) ]] ; then + if [[ "$(ls)" =~ '\.ebuild' ]] ; then ebegin "Digesting ebuilds" for i in *.ebuild ; do ebuild $i digest @@ -195,7 +195,7 @@ fi svn_up || exit $? create_digests || exit $? -changelog_append "$1" || exit $? +changelog_append "$*" || exit $? svn_add || exit $? repoman_check || exit $? svn_commit "$*" || exit $? |