diff options
author | Trevor Woerner <trevor.woerner@linaro.org> | 2014-02-25 13:34:48 -0500 |
---|---|---|
committer | Trevor Woerner <trevor.woerner@linaro.org> | 2014-02-25 13:34:48 -0500 |
commit | 37373340808d71858cd33fa79b6fc5016c52846a (patch) | |
tree | 5a51be8a7f0cb0a138929959c7676272c82696a3 | |
parent | 8e0a0d3c4152339ebbbfc4e3c23a5a474579eba6 (diff) | |
download | crosstool-ng-37373340808d71858cd33fa79b6fc5016c52846a.tar.gz crosstool-ng-37373340808d71858cd33fa79b6fc5016c52846a.tar.bz2 crosstool-ng-37373340808d71858cd33fa79b6fc5016c52846a.zip |
newlib: fix extract process for custom version
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.
Signed-off-by: Trevor Woerner <trevor.woerner@linaro.org>
[yann.morin.1998@free.fr: keep leading indentation]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <c727adf1b7bd2c1e891d.1393353347@openSUSE-i7>
Patchwork-Id: 324060
-rw-r--r-- | scripts/build/libc/newlib.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/libc/newlib.sh b/scripts/build/libc/newlib.sh index fa6d6220..cae4b9f6 100644 --- a/scripts/build/libc/newlib.sh +++ b/scripts/build/libc/newlib.sh @@ -29,7 +29,7 @@ do_libc_get() { 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 |