exit 1
fi
-libs=$(find $1 -type f -name \*.so)
+libs=$(find $1 -type f -name \*.so\*)
execs=$(find $1 -type f -path \*/bin/\* )
for i in $libs $execs; do
chrpath $i 2> /dev/null | grep -q build-root
if [ $? -eq 0 ] ; then
- chrpath $i
+ chrpath -d $i
fi
done