4 echo "Please specify path"
8 which chrpath &> /dev/null
10 if [ $? -ne 0 ] ; then
11 echo "Please install chrpath tool"
15 libs=$(find $1 -type f -name \*.so\*)
16 execs=$(find $1 -type f -path \*/bin/\* )
18 for i in $libs $execs; do
19 chrpath $i 2> /dev/null | grep -q build-root
20 if [ $? -eq 0 ] ; then