aboutsummaryrefslogtreecommitdiffstats
path: root/brp-strip-static-archive
diff options
context:
space:
mode:
Diffstat (limited to 'brp-strip-static-archive')
-rwxr-xr-xbrp-strip-static-archive2
1 files changed, 1 insertions, 1 deletions
diff --git a/brp-strip-static-archive b/brp-strip-static-archive
index 6831239..366d597 100755
--- a/brp-strip-static-archive
+++ b/brp-strip-static-archive
@@ -5,7 +5,7 @@ if [ -z "$RPM_BUILD_ROOT" -o "$RPM_BUILD_ROOT" = "/" ]; then
fi
# Strip static libraries.
-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 'current ar archive' | \
sed -n -e 's/^\(.*\):[ ]*current ar archive/\1/p'`; do