summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorDennis Meier <meier.dennis@siemens.com>2014-06-17 15:16:53 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-06-29 09:00:09 +0100
commitd6c55f6910270e395f668c9114ec374b44c57538 (patch)
tree83d29813863cd0ffd91d998d53b6b78a937d0ec9 /meta/classes
parentb5c7538416e4c7a9e594edf930fa7ee844a347e6 (diff)
downloadopenembedded-core-d6c55f6910270e395f668c9114ec374b44c57538.tar.gz
openembedded-core-d6c55f6910270e395f668c9114ec374b44c57538.tar.bz2
openembedded-core-d6c55f6910270e395f668c9114ec374b44c57538.zip
populate_sdk_base: add auto-completion in setup
Signed-off-by: Dennis Meier <meier.dennis@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/populate_sdk_base.bbclass3
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass
index d3d8422124..97cf1fb609 100644
--- a/meta/classes/populate_sdk_base.bbclass
+++ b/meta/classes/populate_sdk_base.bbclass
@@ -174,9 +174,8 @@ if [ $verbose = 1 ] ; then
set -x
fi
-printf "Enter target directory for SDK (default: $DEFAULT_INSTALL_DIR): "
if [ "$target_sdk_dir" = "" ]; then
- read target_sdk_dir
+ read -e -p "Enter target directory for SDK (default: $DEFAULT_INSTALL_DIR): " target_sdk_dir
[ "$target_sdk_dir" = "" ] && target_sdk_dir=$DEFAULT_INSTALL_DIR
else
echo "$target_sdk_dir"