From e51a7ca18cf06ebdf335821135db526a1c082db9 Mon Sep 17 00:00:00 2001 From: Bryan Hundven Date: Sun, 26 Jun 2022 18:01:27 -0700 Subject: [PATCH] Fix mixed indent in bootstrap Tabs or spaces... I believe the policy on ct-ng is spaces for shell scripts. So update bootstrap to stick to 4 space indent. Signed-off-by: Bryan Hundven --- bootstrap | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/bootstrap b/bootstrap index 79fad68a..ff0b8176 100755 --- a/bootstrap +++ b/bootstrap @@ -1,4 +1,5 @@ #!/usr/bin/env bash +# vi: ts=4:sw=4:et if [ "${BASH_VERSINFO[0]}" -lt 4 ]; then echo "Your BASH shell version (${BASH_VERSION}) is too old." >&2 @@ -470,15 +471,15 @@ sort_versions() #debug "${v} vs ${vx} :: `cmp_versions ${v} ${vx}`" case `cmp_versions ${v} ${vx}` in 1) - next_remains+=" ${vx}" - ;; + next_remains+=" ${vx}" + ;; 0) - ;; + ;; -1) - found=no - #debug "Bad: earlier than ${vx}" - break - ;; + found=no + #debug "Bad: earlier than ${vx}" + break + ;; esac done if [ "${found}" = "yes" ]; then @@ -823,7 +824,7 @@ msg "*** Gathering the list of data files to install" continue fi echo " \\" - echo -n " ${f}" + echo -en "\t${f}" seen_files[${f}]=y done } > verbatim-data.mk