[Exherbo-dev] [exherbo-commits] arbor.git -- packages/sys-devel/binutils/ by Ingmar Vanhassel

Bryan Østergaard bryan.ostergaard at gmail.com
Wed Jul 9 10:30:52 BST 2008


On Wed, Jul 9, 2008 at 7:38 AM, Markus Rothe <markus at unixforces.net> wrote:
> git at git.exherbo.org wrote:
> [...]
>> ----
>> diff --git a/packages/sys-devel/binutils/binutils-2.18-r2.exheres-0 b/packages/sys-devel/binutils/binutils-2.18-r2.exheres-0
>> index a62b960..5d3f775 100644
>> --- a/packages/sys-devel/binutils/binutils-2.18-r2.exheres-0
>> +++ b/packages/sys-devel/binutils/binutils-2.18-r2.exheres-0
>> @@ -24,19 +24,20 @@ src_install() {
>>      mkdir -p "${D}/etc/env.d/binutils"
>>
>>      insinto /etc/env.d/binutils
>> -    cat <<EOF > binutils.env
>> -TARGET="${CHOST}"
>> -VER="${PV}"
>> -LIBPATH="/usr/lib/binutils/${CHOST}-${PV}"
>> -FAKE_TARGETS="${CHOST}"
>> -EOF
>> +    cat <<-"    EOF" > binutils.env
>> +    TARGET="${CHOST}"
>> +    VER="${PV}"
>> +    LIBPATH="/usr/lib/binutils/${CHOST}-${PV}"
>> +    FAKE_TARGETS="${CHOST}"
>> +    EOF
> [...]
>
> Doesn't this create blanks at each line of binutils.env?
>
> IMO the old version was better, because the file in the filesystem looks
> cleaner.
>
Doesn't really matter imo. I plan on redoing all the toolchain
slotting completely anyway and there's a good chance it'll change
quite a bit when I do that.

Regards,
Bryan Østergaard



More information about the Exherbo-dev mailing list