diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2004-09-26 21:59:09 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2004-09-26 21:59:09 +0000 |
commit | 15d5c4a51f063211e6737e4ba4fa223701950f1b (patch) | |
tree | 03f95fbf9571fc5d6cf43d23c8e07d71f807bab7 /Tools | |
parent | 49c4b887b4bd95eeb0a1ade7c0be97f3a3d5b3c4 (diff) |
Notes
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/portbuild/scripts/reportload | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Tools/portbuild/scripts/reportload b/Tools/portbuild/scripts/reportload index c7fe8927b4e3..911b08fa38ff 100755 --- a/Tools/portbuild/scripts/reportload +++ b/Tools/portbuild/scripts/reportload @@ -7,7 +7,9 @@ pb=/var/portbuild arch=$1 . ${pb}/${arch}/portbuild.conf -. ${pb}/${arch}/portbuild.$(hostname) +if [ -f ${pb}/${arch}/portbuild.$(hostname) ]; then + . ${pb}/${arch}/portbuild.$(hostname) +fi num=$(echo $(ls -1d ${scratchdir}/*/chroot/*/used 2>/dev/null| wc -l)) echo -n "$num " |