summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/build/libc/newlib.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/libc/newlib.sh b/scripts/build/libc/newlib.sh
index fa6d622..cae4b9f 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