1 |
#!/bin/bash |
#!/bin/bash |
2 |
# $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 $ |
# $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/ldd-fix.sh,v 1.3 2005-07-31 11:54:02 niro Exp $ |
3 |
|
|
4 |
if [ -z "$1" ] |
if [ -z "$1" ] |
5 |
then |
then |
9 |
|
|
10 |
PACKAGES_TO_CHECK="" |
PACKAGES_TO_CHECK="" |
11 |
|
|
12 |
|
# export the default C locale |
13 |
|
export LC_ALL=C |
14 |
|
|
15 |
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 ..." |
16 |
for file in $(find $1 -mount -type f) |
for file in $(find $1 -mount -type f) |
17 |
do |
do |