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 |
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 |