X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=build-root%2Fscripts%2Fremove-rpath;h=f7c05f1e90866c62b942a52baebf305daf552a4b;hb=24adebad278b88b26bdae5615b6dea94dba7b757;hp=bda3d60d7455a58a088ba4773286cace504f79cd;hpb=a1bd0230d2412223141486192ee0d4632bfe8710;p=vpp.git diff --git a/build-root/scripts/remove-rpath b/build-root/scripts/remove-rpath deleted file mode 100755 index bda3d60d745..00000000000 --- a/build-root/scripts/remove-rpath +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/bash - -if [ -z $1 ]; then - echo "Please specify path" - exit 1 -fi - -which chrpath &> /dev/null - -if [ $? -ne 0 ] ; then - echo "Please install chrpath tool" - exit 1 -fi - -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 - fi -done - diff --git a/build-root/scripts/remove-rpath b/build-root/scripts/remove-rpath new file mode 120000 index 00000000000..f7c05f1e908 --- /dev/null +++ b/build-root/scripts/remove-rpath @@ -0,0 +1 @@ +../../src/scripts/remove-rpath \ No newline at end of file