X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=build-root%2Fscripts%2Fremove-rpath;h=f7c05f1e90866c62b942a52baebf305daf552a4b;hb=a2e56ee4d89ff1342d277747b97d44469f578407;hp=1828ddf9cfaadc04c7da8622faa647bd3c6fbca5;hpb=3f1309df1b9a96a194845b297734f55db3f2c6b0;p=vpp.git diff --git a/build-root/scripts/remove-rpath b/build-root/scripts/remove-rpath deleted file mode 100755 index 1828ddf9cfa..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 -d $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