summaryrefslogtreecommitdiff
path: root/scripts/brp-strip-shared
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/brp-strip-shared')
-rwxr-xr-x[-rw-r--r--]scripts/brp-strip-shared2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/brp-strip-shared b/scripts/brp-strip-shared
index da46431..e06ee4b 100644..100755
--- a/scripts/brp-strip-shared
+++ b/scripts/brp-strip-shared
@@ -17,7 +17,7 @@ esac
# Strip ELF shared objects
# Please note we don't restrict our search to executable files because
# our libraries are not (should not be, at least) +x.
-for f in `find $RPM_BUILD_ROOT -type f -a -exec file {} \; | \
+for f in `find "$RPM_BUILD_ROOT" -type f -a -exec file {} \; | \
grep -v "^${RPM_BUILD_ROOT}/\?usr/lib/debug" | \
grep ' shared object,' | \
sed -n -e 's/^\(.*\):[ ]*ELF.*, not stripped/\1/p'`; do