Skip to content

Commit

Permalink
Fix archive yymm directory
Browse files Browse the repository at this point in the history
In case there is a "patchlevel" suffix.

Signed-off-by: Alexey Neyman <stilor@att.net>
  • Loading branch information
stilor committed Jul 17, 2017
1 parent 3e47aa1 commit 46c3e5e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/functions
Expand Up @@ -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"
Expand Down

0 comments on commit 46c3e5e

Please sign in to comment.