mirror of
https://git.yoctoproject.org/poky
synced 2026-03-06 15:29:40 +01:00
toolchain-shar-extract/init-install-efi-testfs: Unify question spaces
unify the spacing for questions in various places e.g. before the [Y/n] there should be a space, and before "?" there should be none. Unify the questions where the system expect an answer from the end user. (From OE-Core rev: 7a3f128b19e55b751e81bc676e5946544b0c8735) Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it> Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
ffa5a1bda6
commit
b495e757da
@@ -185,11 +185,11 @@ fi
|
||||
|
||||
if [ -e "$target_sdk_dir/environment-setup-@REAL_MULTIMACH_TARGET_SYS@" ]; then
|
||||
echo "The directory \"$target_sdk_dir\" already contains a SDK for this architecture."
|
||||
printf "If you continue, existing files will be overwritten! Proceed[y/N]? "
|
||||
printf "If you continue, existing files will be overwritten! Proceed [y/N]? "
|
||||
|
||||
default_answer="n"
|
||||
else
|
||||
printf "You are about to install the SDK to \"$target_sdk_dir\". Proceed[Y/n]? "
|
||||
printf "You are about to install the SDK to \"$target_sdk_dir\". Proceed [Y/n]? "
|
||||
|
||||
default_answer="y"
|
||||
fi
|
||||
|
||||
@@ -27,7 +27,7 @@ do
|
||||
# Try sleeping here to avoid getting kernel messages
|
||||
# obscuring/confusing user
|
||||
sleep 5
|
||||
echo "Found drive at /dev/${device}. Do you want to install this image there ? [y/n]"
|
||||
echo "Found drive at /dev/${device}. Do you want to install this image there? [y/n]"
|
||||
read answer
|
||||
if [ "$answer" = "y" ] ; then
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user