setup: Replace tabs with 4 spaces to keep consistency
Change-Id: Ieadc4fcf922429df1bbb1e6fc347e9071493c6d4
Signed-off-by: Roy Yang <royyang@google.com>
diff --git a/setup b/setup
index 9398cb9..a7a16a1 100755
--- a/setup
+++ b/setup
@@ -40,15 +40,15 @@
local cfg name tmpl
local configs
- # zsh requires wordsplit so that variable expansion behaves like bash
- if [ -n "$ZSH_NAME" ]; then
- setopt local_options shwordsplit
- fi
- if which find > /dev/null 2>&1; then
+ # zsh requires wordsplit so that variable expansion behaves like bash
+ if [ -n "$ZSH_NAME" ]; then
+ setopt local_options shwordsplit
+ fi
+ if which find > /dev/null 2>&1; then
configs="$(find meta-* -path "*/conf/machine/*.conf")"
- else
- configs=$(ls -1 meta-*/meta-*/conf/machine/*.conf meta-*/conf/machine/*.conf)
- fi
+ else
+ configs=$(ls -1 meta-*/meta-*/conf/machine/*.conf meta-*/conf/machine/*.conf)
+ fi
# Add qemu machines.
configs="$configs $(ls -1 poky/meta/conf/machine/qemu*.conf)"
@@ -94,9 +94,9 @@
}
if [ -z "$1" ]; then
- echo Target machine must be specified. Use one of:
- echo
- machine | sort | sed "s/qemu[^[:space:]]*//" | "${COLUMN[@]}"
+ echo Target machine must be specified. Use one of:
+ echo
+ machine | sort | sed "s/qemu[^[:space:]]*//" | "${COLUMN[@]}"
else
bld_dir=$2
if [ -z "$2" ]; then