summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-07-17 23:40:52 (GMT)
committerGitHub <noreply@github.com>2017-07-17 23:40:52 (GMT)
commitbd11c0e91189208db07a9851708091fb951f823f (patch)
treeae44e66c668ca321a391548dda75f94c4725844c /scripts
parent16169e33c8f08f5ddbd36e9e8a17a28baee8399d (diff)
parent46c3e5e3d4a493a856fe4b234809bcbc61ed38de (diff)
Merge pull request #780 from stilor/fix-linaro
Fix linaro
Diffstat (limited to 'scripts')
-rw-r--r--scripts/functions3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/functions b/scripts/functions
index 2b660ef..5527fa2 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -1465,10 +1465,11 @@ CT_Mirrors()
echo "http://gcc.gnu.org/pub/${project}"
;;
Linaro)
- eval "local version=\"\${${3}}\""
+ local version="${3}"
local base yymm
base="${version%%-*}"
yymm="${version##*-??}"
+ yymm="${yymm%%-*}"
echo "https://releases.linaro.org/components/toolchain/${project}-linaro/${version}"
echo "https://releases.linaro.org/archive/${yymm}/components/toolchain/${project}-linaro/${base}"
echo "https://releases.linaro.org/archive/${yymm}/components/toolchain/${project}-linaro"