summaryrefslogtreecommitdiffstats
path: root/build-root/scripts/remove-rpath
diff options
context:
space:
mode:
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