aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Hundven <bryanhundven@gmail.com>2022-06-29 13:01:52 -0700
committerGitHub <noreply@github.com>2022-06-29 13:01:52 -0700
commit8e572114c2418c317949122bec005881128a39a5 (patch)
treeda905b5ec544739a3ba201c6b38fabc47aff9af5
parent939ea40aa4afc3c519955bda1f1a8295b9a2c894 (diff)
parente51a7ca18cf06ebdf335821135db526a1c082db9 (diff)
downloadcrosstool-ng-8e572114c2418c317949122bec005881128a39a5.tar.gz
crosstool-ng-8e572114c2418c317949122bec005881128a39a5.tar.bz2
crosstool-ng-8e572114c2418c317949122bec005881128a39a5.zip
Merge pull request #1775 from bhundven/bootstrap_mixed_indent
Fix mixed indent in bootstrap
-rwxr-xr-xbootstrap17
1 files 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