Revision: 2819
          http://ipcop.svn.sourceforge.net/ipcop/?rev=2819&view=rev
Author:   chepati
Date:     2009-05-09 18:32:06 +0000 (Sat, 09 May 2009)

Log Message:
-----------
Fixed check for distcc

Modified Paths:
--------------
    ipcop/trunk/make.sh

Modified: ipcop/trunk/make.sh
===================================================================
--- ipcop/trunk/make.sh 2009-05-09 16:57:32 UTC (rev 2818)
+++ ipcop/trunk/make.sh 2009-05-09 18:32:06 UTC (rev 2819)
@@ -1013,8 +1013,8 @@
                ${MKDIR} ${BASEDIR}/test_${MACHINE}/${BUILDDATE}
        fi
 
-       if [ x"${DISTCC_HOSTS}" == x"yes" -a ! -z "${DISTCC_HOSTS}" ]; then
-               ${MKDIR} ${BASEDIR}/distcc
+       if [ x"${USE_DISTCC}" == x"yes" -a ! -z "${DISTCC_HOSTS}" ]; then
+               ${MKDIR} ${DISTCC_DIR}
                ${SUDO} ${MKDIR} ${LFS}/usr/src/distcc
        fi
 
@@ -1061,9 +1061,9 @@
        
#################################################################################
        # Write the distcc hosts only if we're using distcc and we've specified 
the hosts
        
#################################################################################
-       if [ x"${DISTCC_HOSTS}" == x"yes" -a ! -z "${DISTCC_HOSTS}" ]; then
+       if [ x"${USE_DISTCC}" == x"yes" -a ! -z "${DISTCC_HOSTS}" ]; then
                echo "${DISTCC_HOSTS}" > ${DISTCC_DIR}/hosts
-               ${SUDO} ${BIND} ${BASEDIR}/distcc                               
${LFS}/usr/src/distcc
+               ${SUDO} ${BIND} ${DISTCC_DIR}                                   
${LFS}/usr/src/distcc
        fi
 
        echo -n "Running compilation tests : "
@@ -1617,7 +1617,7 @@
        fi
 
        # make distcc first so that CCACHE_PREFIX works immediately
-       if [ x"${DISTCC_HOSTS}" == x"yes" -a ! -z "${DISTCC_HOSTS}" ]; then
+       if [ x"${USE_DISTCC}" == x"yes" -a ! -z "${DISTCC_HOSTS}" ]; then
                toolchain_make distcc
        fi
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Ipcop-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ipcop-svn

Reply via email to