__PKG_RID=linux
;;
esac
-
- __DOTNET_PKG=dotnet-sdk-${__DOTNET_TOOLS_VERSION}-$__PKG_RID-$__PKG_ARCH
+ __PKG_RID=$__PKG_RID-$__PKG_ARCH
+ __DOTNET_PKG=dotnet-sdk-${__DOTNET_TOOLS_VERSION}-$__PKG_RID
fi
mkdir -p "$__DOTNET_PATH"
fi
if [ -z "${__ILASM_RID-}" ]; then
- __ILASM_RID=$__PKG_RID-$__PKG_ARCH
+ __ILASM_RID=$__PKG_RID
fi
echo "Using RID $__ILASM_RID for BuildTools native tools"
ls "$__scriptpath/Tools/"*.sh | xargs chmod +x
ls "$__scriptpath/Tools/scripts/docker/"*.sh | xargs chmod +x
-"$__scriptpath/Tools/crossgen.sh" "$__scriptpath/Tools"
+"$__scriptpath/Tools/crossgen.sh" "$__scriptpath/Tools" $__PKG_RID
mkdir -p "$(dirname "$__BUILD_TOOLS_SEMAPHORE")" && touch "$__BUILD_TOOLS_SEMAPHORE"