aboutsummaryrefslogtreecommitdiffstats
path: root/build-root/scripts/remove-rpath
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2017-01-13 20:58:19 +0100
committerFlorin Coras <florin.coras@gmail.com>2017-01-13 21:02:31 +0000
commit3f1309df1b9a96a194845b297734f55db3f2c6b0 (patch)
treede9fb92fcf040b96f52f812216600eb204abdd30 /build-root/scripts/remove-rpath
parent69915cba2d6e169343c03c8eef48e6b2d2296e3a (diff)
Fix remove-rpath script
Change-Id: Ieb9ca2c5ac64dbb73de1b3dd701bb794c91aeae5 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'build-root/scripts/remove-rpath')
-rwxr-xr-xbuild-root/scripts/remove-rpath2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-root/scripts/remove-rpath b/build-root/scripts/remove-rpath
index bda3d60d745..1828ddf9cfa 100755
--- a/build-root/scripts/remove-rpath
+++ b/build-root/scripts/remove-rpath
@@ -18,7 +18,7 @@ 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