]> code.ossystems Code Review - openembedded-core.git/commitdiff
toolchain-shar-extract/init-install-efi-testfs: Unify question spaces
authorGianfranco Costamagna <costamagna.gianfranco@gmail.com>
Fri, 29 Mar 2019 09:32:12 +0000 (10:32 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 4 Apr 2019 08:53:07 +0000 (09:53 +0100)
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.

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>
meta/files/toolchain-shar-extract.sh
meta/recipes-core/initrdscripts/files/init-install-efi-testfs.sh

index 9eabd6263080302e16b3ceb0fdc49b51821b43af..156085b50031318cdfb18a3ea7d4a84d48bc125b 100644 (file)
@@ -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
index 9c4b263d544ec17255e451a5f9fcd8317f91d044..b351985a61c1f44a554bd9b9c9c885ab4ea332b1 100644 (file)
@@ -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