From 6a72073729e292b15cb0b36b68696bb6219f380b Mon Sep 17 00:00:00 2001 From: jbj Date: Mon, 30 May 2005 06:40:54 +0000 Subject: [PATCH] Permit file names with spaces. CVS patchset: 7858 CVS date: 2005/05/30 06:40:54 --- scripts/brp-strip | 2 +- scripts/brp-strip-comment-note | 2 +- scripts/brp-strip-shared | 2 +- scripts/brp-strip-static-archive | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/brp-strip b/scripts/brp-strip index 1493877..66bb197 100755 --- a/scripts/brp-strip +++ b/scripts/brp-strip @@ -14,5 +14,5 @@ for f in `find $RPM_BUILD_ROOT -type f \( -perm -0100 -or -perm -0010 -or -perm grep -v "^${RPM_BUILD_ROOT}/\?usr/lib/debug" | \ grep -v ' shared object,' | \ sed -n -e 's/^\(.*\):[ ]*ELF.*, not stripped/\1/p'`; do - strip -g $f || : + strip -g "$f" || : done diff --git a/scripts/brp-strip-comment-note b/scripts/brp-strip-comment-note index 87b18b7..ac428a8 100755 --- a/scripts/brp-strip-comment-note +++ b/scripts/brp-strip-comment-note @@ -19,5 +19,5 @@ for f in `find $RPM_BUILD_ROOT -type f \( -perm -0100 -or -perm -0010 -or -perm grep ALLOC >/dev/null; then note= fi - strip -R .comment $note $f || : + strip -R .comment $note "$f" || : done diff --git a/scripts/brp-strip-shared b/scripts/brp-strip-shared index 01317a5..fc61406 100644 --- a/scripts/brp-strip-shared +++ b/scripts/brp-strip-shared @@ -19,5 +19,5 @@ 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 - strip --strip-unneeded $f + strip --strip-unneeded "$f" done diff --git a/scripts/brp-strip-static-archive b/scripts/brp-strip-static-archive index df2f92e..961ae27 100755 --- a/scripts/brp-strip-static-archive +++ b/scripts/brp-strip-static-archive @@ -14,5 +14,5 @@ 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 - strip -g $f + strip -g "$f" done -- 2.7.4