summaryrefslogtreecommitdiff
path: root/scripts/functions
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-07-17 19:19:43 (GMT)
committerAlexey Neyman <stilor@att.net>2017-07-17 19:19:43 (GMT)
commit46c3e5e3d4a493a856fe4b234809bcbc61ed38de (patch)
treeae44e66c668ca321a391548dda75f94c4725844c /scripts/functions
parent3e47aa1c3a20768f38d46d285e9b3220f6e17f20 (diff)
Fix archive yymm directory
In case there is a "patchlevel" suffix. Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'scripts/functions')
-rw-r--r--scripts/functions1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/functions b/scripts/functions
index d9271f4..5527fa2 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -1469,6 +1469,7 @@ CT_Mirrors()
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"