public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] portage r14716 - main/branches/2.1.7/bin/ebuild-helpers
@ 2009-10-24  7:05 Zac Medico (zmedico)
  0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2009-10-24  7:05 UTC (permalink / raw
  To: gentoo-commits

Author: zmedico
Date: 2009-10-24 07:05:51 +0000 (Sat, 24 Oct 2009)
New Revision: 14716

Modified:
   main/branches/2.1.7/bin/ebuild-helpers/prepstrip
Log:
Use find with -print0 for absolute safety. (trunk r14707)

Modified: main/branches/2.1.7/bin/ebuild-helpers/prepstrip
===================================================================
--- main/branches/2.1.7/bin/ebuild-helpers/prepstrip	2009-10-24 07:05:33 UTC (rev 14715)
+++ main/branches/2.1.7/bin/ebuild-helpers/prepstrip	2009-10-24 07:05:51 UTC (rev 14716)
@@ -187,8 +187,8 @@
 	# 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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-10-24  7:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-24  7:05 [gentoo-commits] portage r14716 - main/branches/2.1.7/bin/ebuild-helpers Zac Medico (zmedico)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox