commit: fae64a8cb1e2665ffe1652d4a053145e8850295f
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 15 00:57:30 2014 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Sun Jun 15 00:57:30 2014 +0000
URL:
http://git.overlays.gentoo.org/gitweb/?p=proj/toolchain.git;a=commit;h=fae64a8c
skip commit if there are no new files
---
scripts/cronjob.sh | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/scripts/cronjob.sh b/scripts/cronjob.sh
index 5295f0f..843089e 100755
--- a/scripts/cronjob.sh
+++ b/scripts/cronjob.sh
@@ -15,7 +15,9 @@ commit() {
doit() {
./scripts/update-$1
cd sys-devel/$1
- commit "update $1 snapshots"
+ if [[ -n $(git status --porcelain) ]] ; then
+ commit "update $1 snapshots"
+ fi
cd ../..
}