diff options
author | Holger Levsen <holger@layer-acht.org> | 2014-04-25 16:46:33 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-04-26 20:11:52 +0200 |
commit | 3a9c01363a0af7c64179c19f1d6e884c4a7cb873 (patch) | |
tree | f144695a6c71458ca1fa1dd429af8921f056ac22 /bin/housekeeping.sh | |
parent | e9d10b50dfa10dc5685d73d387f59772c3ea036d (diff) | |
download | jenkins.debian.net-3a9c01363a0af7c64179c19f1d6e884c4a7cb873.tar.xz |
use common functions. runs all scripts as copies from /tmp, so the source scripts can be updated while running.
Diffstat (limited to 'bin/housekeeping.sh')
-rwxr-xr-x | bin/housekeeping.sh | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/bin/housekeeping.sh b/bin/housekeeping.sh index 3d93a717..f322fec7 100755 --- a/bin/housekeeping.sh +++ b/bin/housekeeping.sh @@ -1,13 +1,10 @@ #!/bin/bash -# Copyright 2012-2013 Holger Levsen <holger@layer-acht.org> +# Copyright 2012-2014 Holger Levsen <holger@layer-acht.org> # released under the GPLv=2 -# -# default settings -# -export LC_ALL=C -set -e +. /srv/jenkins/bin/common-functions.sh +common_init "$@" check_for_mounted_chroots() { CHROOT_PATTERN="/chroots/${1}-*" @@ -47,7 +44,6 @@ report_filetype_usage() { rm $OUTPUT } - report_squid_usage() { REPORT=/var/www/calamaris/calamaris.txt if [ -z $1 ] ; then |