commit: 88ce08fa905f73ab9341285396b8e6f0a054058c
Author: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 22 01:57:29 2017 +0000
Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
CommitDate: Sun Jan 22 04:30:10 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88ce08fa
sci-electronics/kicad: replace the for loop with the funky while loop
Package-Manager: portage-2.3.0
sci-electronics/kicad/kicad-4.0.5.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sci-electronics/kicad/kicad-4.0.5.ebuild
b/sci-electronics/kicad/kicad-4.0.5.ebuild
index 2544592..dfaae91 100644
--- a/sci-electronics/kicad/kicad-4.0.5.ebuild
+++ b/sci-electronics/kicad/kicad-4.0.5.ebuild
@@ -77,9 +77,9 @@ src_prepare() {
eapply "${FILESDIR}/${PN}-4.0.4-boost-context.patch"
# remove all the non unix file endings
- for f in $(find "${S}" -type f -name "*.desktop") ; do
+ while IFS="" read -d $'\0' -r f; do
edos2unix "${f}"
- done
+ done < <(find "${S}" -type f -name "*.desktop" -print0)
# Remove cvpcb desktop file while it does nothing
rm "${WORKDIR}/${P}/resources/linux/mime/applications/cvpcb.desktop" ||
die