Skip to content

Commit cd56080

Browse files
jangalda-nscnordicjm
authored andcommitted
tools: Use yaml files to calculate toolchain id
If yaml files are present, toolchain bundler uses them instead of txt files as source of required tools. Signed-off-by: Jan Gałda <jan.galda@nordicsemi.no>
1 parent 1773900 commit cd56080

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/print_toolchain_checksum.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
BASEDIR=$(dirname "$0")
44
REQUIREMENTS=$BASEDIR/requirements-fixed.txt
5-
TOOLS_VERSIONS=$BASEDIR/tools-versions-linux.txt
6-
TOOLCHAIN_VERSION=$(cat $REQUIREMENTS $TOOLS_VERSIONS | sha256sum | head -c 10)
5+
TOOLS_VERSIONS=$BASEDIR/tools-versions-linux.yml
6+
TOOLCHAIN_VERSION=$(cat $REQUIREMENTS $TOOLS_VERSIONS | tr -d '\r' | sha256sum | head -c 10)
77

88
echo "${TOOLCHAIN_VERSION}"

0 commit comments

Comments
 (0)