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
|
|