Magellan Linux

Diff of /trunk/mage/usr/lib/mage/ldd-fix.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 86 by niro, Wed Jun 1 15:56:13 2005 UTC revision 87 by niro, Fri Jun 3 16:41:48 2005 UTC
# Line 1  Line 1 
1  #!/bin/bash  #!/bin/bash
2  # $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/ldd-fix.sh,v 1.1 2005-06-01 15:56:13 niro Exp $  # $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/ldd-fix.sh,v 1.2 2005-06-03 16:41:48 niro Exp $
3    
4  if [ -z "$1" ]  if [ -z "$1" ]
5  then  then
# Line 10  fi Line 10  fi
10  PACKAGES_TO_CHECK=""  PACKAGES_TO_CHECK=""
11    
12  echo "Checking all files for dynamic link issues ... this may take a while ..."  echo "Checking all files for dynamic link issues ... this may take a while ..."
13  for file in $(find $1 -type f -mount)  for file in $(find $1 -mount -type f)
14  do  do
15   if [ -x ${file} -a ! -L ${file} ]   if [ -x ${file} -a ! -L ${file} ]
16   then   then

Legend:
Removed from v.86  
changed lines
  Added in v.87