summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-10-23 18:20:34 +0000
committerZac Medico <zmedico@gentoo.org>2009-10-23 18:20:34 +0000
commitd948e3a323100e9cd1fbb8be4a9ad1cc9c0dfc53 (patch)
tree60e806385955c5775c26c6a9283cda37f48770b6
parentBug #289967 - Update installsources rsync code for >=debugedit-4.4.6-r2. (diff)
downloadportage-multirepo-d948e3a323100e9cd1fbb8be4a9ad1cc9c0dfc53.tar.gz
portage-multirepo-d948e3a323100e9cd1fbb8be4a9ad1cc9c0dfc53.tar.bz2
portage-multirepo-d948e3a323100e9cd1fbb8be4a9ad1cc9c0dfc53.zip
Use find with -print0 for absolute safety.
svn path=/main/trunk/; revision=14707
-rwxr-xr-xbin/ebuild-helpers/prepstrip4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ebuild-helpers/prepstrip b/bin/ebuild-helpers/prepstrip
index 0f97ca05..13cd5a6b 100755
--- a/bin/ebuild-helpers/prepstrip
+++ b/bin/ebuild-helpers/prepstrip
@@ -187,8 +187,8 @@ then
# Preserve directory structure.
# Needed after running save_elf_sources.
# https://bugzilla.redhat.com/show_bug.cgi?id=444310
- while read -r emptydir
+ while read -r -d $'\0' emptydir
do
touch "$emptydir"/.keepdir
- done < <(find "${D}${prepstrip_sources_dir}/" -type d -empty)
+ done < <(find "${D}${prepstrip_sources_dir}/" -type d -empty -print0)
fi