summaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authorRoy Yang <royyang@google.com>2024-05-17 23:47:29 +0300
committerRoy Yang <royyang@google.com>2024-05-24 15:54:23 +0300
commit67d5090b2419d1eca0786f3507e4e23ae162c424 (patch)
tree79166a3161ab294b22bfc2fc9f3af111aa5279a6 /setup
parent57294f9ba29a84a178cece806e67a23bba600359 (diff)
downloadopenbmc-67d5090b2419d1eca0786f3507e4e23ae162c424.tar.xz
setup: Replace tabs with 4 spaces to keep consistency
Change-Id: Ieadc4fcf922429df1bbb1e6fc347e9071493c6d4 Signed-off-by: Roy Yang <royyang@google.com>
Diffstat (limited to 'setup')
-rwxr-xr-xsetup22
1 files changed, 11 insertions, 11 deletions
diff --git a/setup b/setup
index 9398cb9547..a7a16a1d72 100755
--- a/setup
+++ b/setup
@@ -40,15 +40,15 @@ machine() {
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 @@ machine() {
}
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