X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=build-root%2Fscripts%2Fremove-rpath;h=3e20b06dbfa52cb9746e99d2a5a36f920b7bf8ef;hb=78d62422e1d213e301a887eaab2983791a6d0078;hp=1828ddf9cfaadc04c7da8622faa647bd3c6fbca5;hpb=3f1309df1b9a96a194845b297734f55db3f2c6b0;p=vpp.git diff --git a/build-root/scripts/remove-rpath b/build-root/scripts/remove-rpath index 1828ddf9cfa..3e20b06dbfa 100755 --- a/build-root/scripts/remove-rpath +++ b/build-root/scripts/remove-rpath @@ -1,5 +1,18 @@ #!/bin/bash +# Copyright (c) 2015 Cisco and/or its affiliates. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at: +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + if [ -z $1 ]; then echo "Please specify path" exit 1 @@ -12,7 +25,7 @@ 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