Revision: 6091
          http://ipcop.svn.sourceforge.net/ipcop/?rev=6091&view=rev
Author:   gespinasse
Date:     2011-11-16 18:34:31 +0000 (Wed, 16 Nov 2011)
Log Message:
-----------
Forgot the test if the first in list exist.
Use a longer name, I don't want to collide with an existing GCC variable name.

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

Modified: ipcop/trunk/make.sh
===================================================================
--- ipcop/trunk/make.sh 2011-11-16 18:25:44 UTC (rev 6090)
+++ ipcop/trunk/make.sh 2011-11-16 18:34:31 UTC (rev 6091)
@@ -1339,8 +1339,8 @@
        STAGE=base
        
        # Set CCACHE_COMPILERCHECK
-       for GCC in ${BASEDIR}/build_${MACHINE}/ipcop/usr/bin/gcc 
/${TOOLS_DIR}/bin/${TARGET_2}-gcc; do
-               update-gcc-hash "$GCC" && break
+       for GCC_AVAILABLE in ${BASEDIR}/build_${MACHINE}/ipcop/usr/bin/gcc 
/${TOOLS_DIR}/bin/${TARGET_2}-gcc; do
+               [ -f ${GCC_AVAILABLE} ] && update-gcc-hash "$GCC_AVAILABLE" && 
break
        done
 
        ${SUDO} ${NICECMD} ${NICEPARAM} ${CHROOT} ${LFS} /${TOOLS_DIR}/bin/env 
-i \

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


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn

Reply via email to