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
fix _make_git_tar_dir.sh - don't 'append directory' to symlinks
[cmdllinux.git]
/
scripts
/
_readelf_rpath.sh
blob
b100b2fe02524386a0acbe7dd3d2a90d908acae9
1
if
[ !
-z
"
$1
"
];
then
2
DIR
=
"
$1
"
3
[ !
-d
"
$DIR
"
] &&
echo
"No such directory"
&&
exit
1
4
cd
"
$DIR
"
5
fi
6
_findbin |
xargs
-r -i
sh
-c
'RPATH=$(readelf -d {} | grep " 0x[0-9a-f]\+ (RPATH)" | grep -o "\[.*\]"); [ ! -z "
$RPATH
" ] && echo "{}
$RPATH
"'