Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Steve Long <slong@...>
Subject: Re: Re: Re: [gentoo-commits] gentoo-x86 commit in net-wireless/hostapd: ChangeLog hostapd-0.4.9.ebuild hostapd-0.6.1.ebuild hostapd-0.6.0.ebuild
Date: Fri, 14 Dec 2007 13:28:01 +0000
Mike Frysinger wrote:
>> Personally I prefer using embedded multiline echo:
>> echo '
>> CONFIG_FOO
>> CONFIG_BAR
>> CONFIG_BLAH
>> ' >> "$CONFIG"
> 
> the point of using cat with <<- is so that it wont look like crap when you
> put
> it into the ebuild.  you can use normal tab indentation.  an echo may work
> in a script, but not in an ebuild as the indentation is also placed in the
> output file.

Fair enough, I didn't realise indentation was so important in ebuilds. I
regularly use that for eg awk or ed scriptlets, and the indent breaks for
as long as the quotes are in scope (ie it gets left-justified.) Doesn't
matter in ebuild context, I guess, you're right: much more time is spent on
compiling the software. Just you brought up subshells wrt a fork to an
external binary.


-- 
gentoo-dev@g.o mailing list


References:
Re: Re: [gentoo-commits] gentoo-x86 commit in net-wireless/hostapd: ChangeLog hostapd-0.4.9.ebuild hostapd-0.6.1.ebuild hostapd-0.6.0.ebuild
-- Mike Frysinger
Re: Re: [gentoo-commits] gentoo-x86 commit in net-wireless/hostapd: ChangeLog hostapd-0.4.9.ebuild hostapd-0.6.1.ebuild hostapd-0.6.0.ebuild
-- Steve Long
Re: Re: Re: [gentoo-commits] gentoo-x86 commit in net-wireless/hostapd: ChangeLog hostapd-0.4.9.ebuild hostapd-0.6.1.ebuild hostapd-0.6.0.ebuild
-- Mike Frysinger
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Re: Re: [gentoo-commits] gentoo-x86 commit in net-wireless/hostapd: ChangeLog hostapd-0.4.9.ebuild hostapd-0.6.1.ebuild hostapd-0.6.0.ebuild
Next by thread:
How to pass list of paths to eclass?
Previous by date:
Re: Re: [gentoo-commits] gentoo-x86 commit in sys-cluster/openmpi: ChangeLog openmpi-1.1.1.ebuild openmpi-1.2.4.ebuild
Next by date:
Re: Re: [gentoo-commits] gentoo-x86 commit in sys-cluster/openmpi: ChangeLog openmpi-1.1.1.ebuild openmpi-1.2.4.ebuild


Updated Jun 17, 2009

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.