[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    icecream/client
From:       Marcus Furlong <furlongm () gmail ! com>
Date:       2006-09-10 23:40:52
Message-ID: 1157931652.695273.20511.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 582897 by furlongm:

use file -L to follow symlinks. CCMAIL:sos@sokhapkin.dyndns.org


 M  +2 -2      icecc-create-env  


--- trunk/icecream/client/icecc-create-env #582896:582897
@@ -35,8 +35,8 @@
   target_files="$target_files $toadd"
   if test -x "$path"; then
     # Only call ldd when it makes sense
-    if file "$path" | grep 'ELF' > /dev/null 2>&1; then
-	if ! file "$path" | grep 'static' > /dev/null 2>&1; then
+    if file -L "$path" | grep 'ELF' > /dev/null 2>&1; then
+	if ! file -L "$path" | grep 'static' > /dev/null 2>&1; then
 	   # ldd now outputs ld as /lib/ld-linux.so.xx on current nptl based glibc
 		# this regexp parse the outputs like:
 		# ldd /usr/bin/gcc
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic