summaryrefslogtreecommitdiffstats
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:04:22 +0100
commitb0a9f30e19a2dece5350c4bd9d63355a6bbe214c (patch)
tree2e979dde3a38603a03bbfc94b24ac474f7d2ef1f
parent4d96116f1e453a0de4388a5a00192e33e58390c4 (diff)
downloadpoky-b0a9f30e19a2dece5350c4bd9d63355a6bbe214c.tar.gz
populate_sdk_base: add auto-completion in setup
(From OE-Core rev: d6c55f6910270e395f668c9114ec374b44c57538) Signed-off-by: Dennis Meier <meier.dennis@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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
174 set -x 174 set -x
175fi 175fi
176 176
177printf "Enter target directory for SDK (default: $DEFAULT_INSTALL_DIR): "
178if [ "$target_sdk_dir" = "" ]; then 177if [ "$target_sdk_dir" = "" ]; then
179 read target_sdk_dir 178 read -e -p "Enter target directory for SDK (default: $DEFAULT_INSTALL_DIR): " target_sdk_dir
180 [ "$target_sdk_dir" = "" ] && target_sdk_dir=$DEFAULT_INSTALL_DIR 179 [ "$target_sdk_dir" = "" ] && target_sdk_dir=$DEFAULT_INSTALL_DIR
181else 180else
182 echo "$target_sdk_dir" 181 echo "$target_sdk_dir"