diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-03-19 04:27:08 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-03-19 04:27:08 +0000 |
commit | 13ce12b0db3b6864061fd493fd1e9cb48736dbe7 (patch) | |
tree | b3864e4bed1a9869ed937efeab159283f4680607 /scripts | |
parent | use previous gcc major when a new one doesnt exist yet (diff) | |
download | toolchain-13ce12b0db3b6864061fd493fd1e9cb48736dbe7.tar.gz toolchain-13ce12b0db3b6864061fd493fd1e9cb48736dbe7.tar.bz2 toolchain-13ce12b0db3b6864061fd493fd1e9cb48736dbe7.zip |
add a cronjob script
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/cronjob.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/scripts/cronjob.sh b/scripts/cronjob.sh new file mode 100755 index 0000000..2a4d31f --- /dev/null +++ b/scripts/cronjob.sh @@ -0,0 +1,19 @@ +#!/bin/bash +set -e +cd "${0%/*}"/.. +( +svn up -q + +./scripts/update-gcc +cd sys-devel/gcc +svn add -q * +svn commit -m 'update gcc snapshots' +cd ../.. + +./scripts/update-gdb +cd sys-devel/gdb +svn add -q * +svn commit -m 'update gdb snapshots' +cd ../.. + +) >& scripts/cronjob.log |