diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-10-24 07:05:51 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-10-24 07:05:51 +0000 |
commit | d7ddc38cd333b68cc8fb1ad4216feec22ac1423b (patch) | |
tree | 58844bcca1b4fa3ead2ae8aa9122c3a2c6125c23 /bin/ebuild-helpers | |
parent | 56782e72e03e922f16e3f24efaa453992b595f98 (diff) | |
download | portage-d7ddc38cd333b68cc8fb1ad4216feec22ac1423b.tar.gz portage-d7ddc38cd333b68cc8fb1ad4216feec22ac1423b.tar.bz2 portage-d7ddc38cd333b68cc8fb1ad4216feec22ac1423b.zip |
Use find with -print0 for absolute safety. (trunk r14707)
svn path=/main/branches/2.1.7/; revision=14716
Diffstat (limited to 'bin/ebuild-helpers')
-rwxr-xr-x | bin/ebuild-helpers/prepstrip | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ebuild-helpers/prepstrip b/bin/ebuild-helpers/prepstrip index 0f97ca05a..13cd5a6b8 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 |