diff mbox

newlib: fix extract process for custom version

Message ID 3cb8019727c2b5af6701.1393351759@openSUSE-i7
State Superseded
Headers show

Commit Message

Trevor Woerner Feb. 25, 2014, 6:09 p.m. UTC
# HG changeset patch
# User Trevor Woerner <trevor.woerner@linaro.org>
# Date 1393351239 18000
#      Tue Feb 25 13:00:39 2014 -0500
# Node ID 3cb8019727c2b5af670146f118152a6b948d4bb6
# Parent  9321d9d7af9bd605eec2811b6703392331db3469
newlib: fix extract process for custom version

If the user specifies the use of a custom newlib version, the logic in the
extract function was reversed, so this step would fail.


--
For unsubscribe information see http://sourceware.org/lists.html#faq

Comments

Trevor Woerner Feb. 25, 2014, 6:33 p.m. UTC | #1
On 02/25/14 13:09, Trevor Woerner wrote:
> # HG changeset patch
> # User Trevor Woerner <trevor.woerner@linaro.org>
> # Date 1393351239 18000
> #      Tue Feb 25 13:00:39 2014 -0500
> # Node ID 3cb8019727c2b5af670146f118152a6b948d4bb6
> # Parent  9321d9d7af9bd605eec2811b6703392331db3469
> newlib: fix extract process for custom version
>

Whoops! Looks like I forgot the SoB line... resending.

--
For unsubscribe information see http://sourceware.org/lists.html#faq
diff mbox

Patch

diff -r 9321d9d7af9b -r 3cb8019727c2 scripts/build/libc/newlib.sh
--- a/scripts/build/libc/newlib.sh	Thu Feb 20 18:23:08 2014 +0000
+++ b/scripts/build/libc/newlib.sh	Tue Feb 25 13:00:39 2014 -0500
@@ -29,7 +29,7 @@ 
 
 do_libc_extract() {
     # If using custom directory location, nothing to do
-    if [    "${CT_LIBC_NEWLIB_CUSTOM}" != "y"            \
+    if [ "${CT_LIBC_NEWLIB_CUSTOM}" = "y"            \
          -a -d "${CT_SRC_DIR}/newlib-${CT_LIBC_VERSION}" ]; then
         return 0
     fi