srcdir=$5
depsdir=$6
targetfiles=$7
+ set -x
if [ -n "$targetfiles" ]; then
case " $HOSTS_THAT_ARE_DISABLED " in
*\ $host\ *)
- return 0
+ exit
;;
esac
case " $HOSTS_THAT_ARE_MYSELF " in
*)
verbose rsync --delete -zLvaSHP "$srcdir"/ "$host:$buildpath/"
verbose rsync --delete -zLvaSHP "$depsdir"/ "$host:$buildpath.deps/"
- verbose ssh "$host" "ln -snf $buildpath.deps $buildpath/.deps && cd $buildpath && make clean $maketargets $makeflags"
+ verbose ssh "$host" "ln -snf $buildpath.deps $buildpath/.deps && cd $buildpath && nice -`nice` make clean $maketargets $makeflags"
for f in $targetfiles; do
verbose rsync -zvaSHP "$host:$buildpath/${f%:*}" "${f##*:}" || true
done