]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Moved distcc_get_hosts from prepareenv to build that it doesn't get called when enter...
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 6 Feb 2009 14:33:34 +0000 (15:33 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 6 Feb 2009 14:33:34 +0000 (15:33 +0100)
shell.

tools/make-include

index e5a3764dc141b1738520e3fecc854ff87c393e92..6d28c8df3ed171326830b55a5f95b2ad9c0e21d0 100644 (file)
@@ -512,8 +512,6 @@ prepareenv() {
        export CCACHE_PREFIX="distcc"
        export DISTCC_DIR=$BASEDIR/distcc
 
-       distcc_get_hosts
-
        # Remove pre-install list of installed files in case user erase some files before rebuild
        rm -f $LFS/usr/src/lsalr 2>/dev/null
 }
@@ -534,6 +532,8 @@ build() {
 
        build_spy_send_profile
        build_spy state compiling
+       distcc_get_hosts
+
        BASEDIR=$BASEDIR UUID=$UUID NAME=$NAME VERSION=$VERSION \
                LOGFILE="$BASEDIR/log_${TARGET}/_build.00-buildspy.log" \
                $BASEDIR/tools/make-buildspy &