Revision: 7348
          http://sourceforge.net/p/ipcop/svn/7348
Author:   owes
Date:     2014-03-20 12:23:10 +0000 (Thu, 20 Mar 2014)
Log Message:
-----------
Newer Fedora (others may follow) put libc in /usr/lib64.

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

Modified: ipcop/trunk/make.sh
===================================================================
--- ipcop/trunk/make.sh 2014-03-20 07:03:07 UTC (rev 7347)
+++ ipcop/trunk/make.sh 2014-03-20 12:23:10 UTC (rev 7348)
@@ -1290,7 +1290,8 @@
 
        # run first libc found, another match if any, is given as parameter to 
the first and ignored
        # 2>/dev/null hide empty path that may happen (at least on 32-bits host)
-       check_version "GNU libc" ${REQUIRED_GLIBC} $($(find /lib /lib64 -name 
libc.so.6* 2>/dev/null) | head -n1 | sed "s,.*version 
\([0-9]*\.[0-9]*\).*$,\1,g")
+       # also look in /usr/lib as /lib may not exist or contain a symlink
+       check_version "GNU libc" ${REQUIRED_GLIBC} $($(find /lib{,64} 
/usr/lib{,64} -name libc.so.6* 2>/dev/null) | head -n1 | sed "s,.*version 
\([0-9]*\.[0-9]*\).*$,\1,g")
        RESULT=${?}
        SUCCESS=$[ ${SUCCESS} - ${RESULT} ]
        report_result ${RESULT}

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


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn

Reply via email to