This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: Fix newlib install failure in install-data-local target
- From: Corinna Vinschen <vinschen at redhat dot com>
- To: newlib at sourceware dot org
- Date: Thu, 19 May 2011 08:05:40 +0200
- Subject: Re: Fix newlib install failure in install-data-local target
- References: <1305730112.3390.10.camel@e102319-lin.cambridge.arm.com>
- Reply-to: newlib at sourceware dot org
On May 18 15:48, Matthew Gretton-Dann wrote:
> Hi,
>
> When building and installing newlib targeting arm-none-eabi I am getting
> the following failure when doing:
> [...]
> /bin/bash: line 67: [: missing `]'
>
> The failure is in the final if clause that tests to see if rpc/types.h
> and rpc/xdr.h have been installed, and then removes them. I believe
> there should be whitespace before the ] in the test condition, and no
> '-' before the rm command.
>
> The attached patch fixes these. I have tested this by building newlib
> for arm-none-eabi.
Thanks for the patch. Applied.
Corinna
--
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat