diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2006-06-25 22:29:22 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2006-06-25 22:29:22 +0000 |
commit | 361cb998a33c4c20c31e61ec8a0a3d538681d974 (patch) | |
tree | f93021a9de3321d60866cf7f885423297c877f27 | |
parent | app-backup/keep - Fix quotes, don't dodoc INSTALL, and cosmetic changes. (diff) | |
download | sunrise-361cb998a33c4c20c31e61ec8a0a3d538681d974.tar.gz sunrise-361cb998a33c4c20c31e61ec8a0a3d538681d974.tar.bz2 sunrise-361cb998a33c4c20c31e61ec8a0a3d538681d974.zip |
svncommit.sh - generate the digests, add to svn and commit
svn path=/sunrise/; revision=310
-rwxr-xr-x | scripts/svncommit.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/scripts/svncommit.sh b/scripts/svncommit.sh new file mode 100755 index 000000000..6fb5e2872 --- /dev/null +++ b/scripts/svncommit.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +if [ -z "$1" ]; then + echo "error: you need to supply a commit message" + exit 1 +fi +if ! ls *.ebuild >/dev/null; then + echo "error: you need to be in an ebuild directory" + exit 1 +fi + +for i in *.ebuild; do +ebuild $i digest +done +svn add *.ebuild Manifest files/digest-* +svn ci -m $1 |