diff options
author | Alexey Neyman <stilor@att.net> | 2017-07-17 12:19:43 -0700 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2017-07-17 12:19:43 -0700 |
commit | 46c3e5e3d4a493a856fe4b234809bcbc61ed38de (patch) | |
tree | ae44e66c668ca321a391548dda75f94c4725844c /scripts/functions | |
parent | 3e47aa1c3a20768f38d46d285e9b3220f6e17f20 (diff) | |
download | crosstool-ng-46c3e5e3d4a493a856fe4b234809bcbc61ed38de.tar.gz crosstool-ng-46c3e5e3d4a493a856fe4b234809bcbc61ed38de.tar.bz2 crosstool-ng-46c3e5e3d4a493a856fe4b234809bcbc61ed38de.zip |
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/functions | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/functions b/scripts/functions index d9271f46..5527fa21 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" |