From: Michael Tremer Date: Mon, 2 Mar 2009 21:38:32 +0000 (+0100) Subject: Fixed distcc get hosts (once again). X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d26d3815f243ef90d5d1468ab38cc4bbe94d43ad;p=ipfire-3.x.git Fixed distcc get hosts (once again). --- diff --git a/tools/make-compilers b/tools/make-compilers index 9a9f98f3c..8066a0e3e 100755 --- a/tools/make-compilers +++ b/tools/make-compilers @@ -100,10 +100,9 @@ distcc_get_hosts() { logger --distcc "[INFO] Getting hosts..." for i in $($BASEDIR/tools/buildspy uuid=$UUID action=get distcc=raw); do logger --distcc "[INFO] Got host: $i" - echo "$i" >> $BASEDIR/distcc/hosts_new + echo "$i" | distcc_test_hosts >> $BASEDIR/distcc/hosts_new done if [ -s "$BASEDIR/distcc/hosts_new" ]; then - cat $BASEDIR/distcc/hosts_new | distcc_test_hosts > $BASEDIR/distcc/hosts_new mv $BASEDIR/distcc/hosts{_new,} fi }