X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=build-root%2Fscripts%2Fremove-rpath;h=3912b37044825018a7b1a10d9f8b303e048de197;hb=e0a3544ae50b6b552acf68d4c9f2a12a119de327;hp=bda3d60d7455a58a088ba4773286cace504f79cd;hpb=a1bd0230d2412223141486192ee0d4632bfe8710;p=vpp.git diff --git a/build-root/scripts/remove-rpath b/build-root/scripts/remove-rpath index bda3d60d745..3912b370448 100755 --- a/build-root/scripts/remove-rpath +++ b/build-root/scripts/remove-rpath @@ -12,13 +12,13 @@ if [ $? -ne 0 ] ; then 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