summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-electronics/kicad')
-rw-r--r--sci-electronics/kicad/kicad-4.0.5.ebuild4
1 files 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 2544592c2990..dfaae912cc91 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