arch=$(echo "${sdkFile}" | sed -r 's/.*crosssdk-(.*)-toolchain.*/\1/')
endUrl=${url#$SDK_AGL_BASEURL}
- if [ "${endUrl::4}" = "http" ]; then
- name=${profile}_${arch}_${version}
+ if [ "${url::14}" = "http://iot.bzh" ]; then
+ endUrl=${url#$SDK_AGL_IOTBZH_BASEURL}
+ name=$(echo "IoTbzh-$(echo ${endUrl} | cut -d'/' -f3,4 | sed s:/:-:g)-${version}")
+ elif [ "${endUrl::4}" = "http" ]; then
+ name="${profile}_${arch}_${version}"
else
name=$(echo "AGL-$(echo ${endUrl} | cut -d'/' -f2,3,4,5)" | sed s:/:-:g)
fi