repo.or.cz
/
cmdllinux.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
some modification on instpkg
[cmdllinux.git]
/
scripts
/
_check_lib_deps_ldd
blob
7e596ee21836d2668f5ec7941dd88934c47717de
1
#! /bin/bash
2
3
if
[ !
-z
"
$1
"
];
then
4
DIR
=
$1
5
[ !
-d
"
$DIR
"
] &&
echo
"No such directory"
&&
exit
1
6
cd
$DIR
7
fi
8
9
_findbin | \
10
while
read
file
;
do
11
ldd
"
$file
"
2
> /
dev
/
null |
grep
-q
"not found"
&&
echo
"
$file
"
&&
ldd
"
$file
"
12
done