From 2d2ba482a77ac385b318afe2f4db22ceaad70d76 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 27 Jul 2012 17:38:37 +0000 Subject: backported from rpm.org (Jeff Tickle , 2011-09-06) $RPM_BUILD_ROOT breaks brp-* scripts if it contains spaces (ticket #843) - This patch adds quotes around $RPM_BUILD_ROOT in places that I noticed they were missing, and attempts to handle some of the problems that can occur when looping over the output of find. --- brp-compress | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'brp-compress') diff --git a/brp-compress b/brp-compress index b1bf0dc..6912d66 100755 --- a/brp-compress +++ b/brp-compress @@ -7,7 +7,7 @@ if [ -z "$RPM_BUILD_ROOT" -o "$RPM_BUILD_ROOT" = "/" ]; then exit 0 fi -cd $RPM_BUILD_ROOT +cd "$RPM_BUILD_ROOT" # Compress man pages COMPRESS="bzip2 -9" -- cgit v1.2.1