diff options
author | Koen Kooi <koen.kooi@linaro.org> | 2014-11-26 12:51:38 +0100 |
---|---|---|
committer | Koen Kooi <koen.kooi@linaro.org> | 2014-11-26 12:51:38 +0100 |
commit | 1ef8e3e9d4c7d547effbe8a104ec86f750878e32 (patch) | |
tree | 331423a8a44e3f71ee05f96225c2d6e76b70da84 | |
parent | 139dd2c70d360f68d85c80c0b7b2b2b58defa99f (diff) |
functions.sh: cope with abe.tcwglab.linaro.org URIs
Change-Id: I57e65e2f2f940cf61bb705ae3a546523ea9dcc18
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
-rwxr-xr-x | functions.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/functions.sh b/functions.sh index bcffa20..670c5b2 100755 --- a/functions.sh +++ b/functions.sh @@ -178,6 +178,11 @@ conf_toolchain() set -xe echo 'TCMODE = "external-linaro"' >>conf/site.conf tarball_name=`echo $external_url | cut -d "/" -f 8` + + if [ -z $tarball_name ] ; then + tarball_name=`echo $external_url | cut -d "/" -f 7` + fi + mkdir -p toolchain if [ -n "${WORKSPACE}" ]; then |