Skip to content

Commit 1d30e4d

Browse files
authored
build.sh: explain bash variable magic
1 parent 9376d78 commit 1d30e4d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docker/build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export npm_config_cache="${NPM_DIR}"
1818
export BUILD_TYPE=${BUILD_TYPE:=Release}
1919
export GCC_ARM_VER=${GCC_ARM_VER:="10.3-2021.10"}
2020
export NRF_SDK_VER=${NRF_SDK_VER:="nRF5_SDK_15.3.0_59ac345"}
21+
# convert to lower case and remove _ and . character
2122
NRF_SDK_VER_SLUG=${NRF_SDK_VER,,}
2223
export NRF_SDK_VER_SLUG=${NRF_SDK_VER_SLUG//[_.]/}
2324

0 commit comments

Comments
 (0)