diff options
author | Roy Yang <royyang@google.com> | 2024-05-17 23:47:29 +0300 |
---|---|---|
committer | Roy Yang <royyang@google.com> | 2024-05-24 15:54:23 +0300 |
commit | 67d5090b2419d1eca0786f3507e4e23ae162c424 (patch) | |
tree | 79166a3161ab294b22bfc2fc9f3af111aa5279a6 /setup | |
parent | 57294f9ba29a84a178cece806e67a23bba600359 (diff) | |
download | openbmc-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-x | setup | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -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 |