summaryrefslogtreecommitdiff
path: root/scripts/brp-strip-static-archive
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/brp-strip-static-archive')
-rwxr-xr-xscripts/brp-strip-static-archive2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/brp-strip-static-archive b/scripts/brp-strip-static-archive
index d7bff332e..ddd3b2422 100755
--- a/scripts/brp-strip-static-archive
+++ b/scripts/brp-strip-static-archive
@@ -12,7 +12,7 @@ Darwin*) exit 0 ;;
esac
# 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