From aee4142a9d335e72a40419d7151a25a0ff3dba33 Mon Sep 17 00:00:00 2001 From: Bryan Hundven Date: Mon, 8 Dec 2014 22:32:19 -0800 Subject: gcc and gdb: fix fetching linaro builds linaro_version and linaro_series are defined but not set if we are not configured for linaro builds. Therefore we need to default them to "" (null string). As reported by @elsonwei Signed-off-by: Bryan Hundven --- scripts/build/cc/gcc.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/build/cc') diff --git a/scripts/build/cc/gcc.sh b/scripts/build/cc/gcc.sh index ff82421f..3d26d0c0 100644 --- a/scripts/build/cc/gcc.sh +++ b/scripts/build/cc/gcc.sh @@ -4,8 +4,8 @@ # Download gcc do_cc_get() { - local linaro_version - local linaro_series + local linaro_version="" + local linaro_series="" local linaro_base_url="http://launchpad.net/gcc-linaro" if [ "${CT_CC_CUSTOM}" = "y" ]; then -- cgit v1.2.3