summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsupport/scripts/check-host-rpath2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/scripts/check-host-rpath b/support/scripts/check-host-rpath
index dc9e17fe57..48d69dae63 100755
--- a/support/scripts/check-host-rpath
+++ b/support/scripts/check-host-rpath
@@ -14,7 +14,7 @@ main() {
local file ret
# Remove duplicate and trailing '/' for proper match
- hostdir="$( sed -r -e 's:/+:/:g;' <<<"${hostdir}" )"
+ hostdir="$( sed -r -e 's:/+:/:g; s:/$::;' <<<"${hostdir}" )"
ret=0
while read file; do
OpenPOWER on IntegriCloud