We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2aff08 commit bbb5d8cCopy full SHA for bbb5d8c
scripts/template_dir
@@ -163,15 +163,7 @@ do_cmake_package()
163
return
164
fi
165
166
- echo "Do you want to register the Zephyr-sdk at location: $target_sdk_dir"
167
- echo " in the CMake package registry (y/n)?"
168
-
169
- while read confirm; do
170
- [ "$confirm" = "Y" -o "$confirm" = "y" -o "$confirm" = "n" \
171
- -o "$confirm" = "N" ] && break
172
- echo "Invalid input \"$confirm\", please input 'y' or 'n': "
173
- done
174
+ read_confirm "registering Zephyr-sdk CMake module with path $target_sdk_dir "
175
if [ "$confirm" = "y" -o "$confirm" = "Y" ]; then
176
if [ ! -d $ZEPHYR_SDK_REGISTRY_DIR ]; then
177
mkdir -p $ZEPHYR_SDK_REGISTRY_DIR
0 commit comments