$RPM_BUILD_ROOT breaks brp-* scripts if it contains spaces (ticket #843)
authorJeff Tickle <jeff@jefftickle.com>
Tue, 6 Sep 2011 06:52:19 +0000 (09:52 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 6 Sep 2011 06:52:19 +0000 (09:52 +0300)
commit31d807ffa8cdf91addf7c39fdf9abf6c61d77944
tree074dd4f037094a09927a08519f1369531304be5e
parent4fbf565ac0a603e204d79c0c8b19a96dc781f844
$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.

Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
scripts/brp-compress
scripts/brp-java-gcjcompile
scripts/brp-python-bytecompile
scripts/brp-strip
scripts/brp-strip-comment-note
scripts/brp-strip-shared
scripts/brp-strip-static-archive
scripts/check-files
scripts/find-debuginfo.sh
scripts/find-lang.sh