This fixes the use of colors in the help output when `builder_term` is
used inside of `builder_describe` (e.g. `web/test.sh --help`). Previously
the escape sequences were not interpreted but directly output.
feat(mac): mcompile new X_find_Shiftstates to verify shiftstates
feat(mac): mcompile fill rgkey for base, shift, opt, shift+opt including CAPS
feat(mac): mcompile fill rgkey prevent writing x01 into rgkey[]
feat(mac): mcompile tidy up code
feat(mac): open more functions
feat(mac): open DoConvert-InitializeUCHR
feat(mac): open write_US_ToVector
feat(mac): (temporarily) add mac_ to function names to be able to distinguish between linux-functions and mac functions if needed
feat(mac): finished mac_createOneVectorFromBothKeyboards()
feat(mac): started DoConvert
feat(mac): mcompile tidy up
feat(mac): include km_types and u16
feat(mac): include filesystem and some kmx
feat(mac): include old functions in keymap
feat(mac): include kmx_file, mc_kmxfile
feat(mac): include deadkey, filesystem, km_types, import_rules,mc_kmxfile
feat(mac): include functions in mcompile.cpp/h
feat(mac): #includes out to be used
This prevents issues where Windows-style path pollutes path strings
with $KEYMAN_ROOT variable. It typically will only be readonly if we are
setting the variable in our own scripts
builder_describe and builder_parse should come before other tests, so
that (a) scripts can return --help details, and (b) so that
builder.inc.sh can tell that the script is a valid builder script, even
if environment means that the script will not otherwise run.
Note: there is a bit of potential confusion about the difference between
/resources/builder.inc.sh (the full implementation for builder scripts),
and /resources/build/builder.inc.sh (the source script that builder
scripts should always use).
This allows us to make assumptions that will always be true for builder
scripts that may not be true for other scripts, such as setting base
folder.
Fixes#11324.
* Always `cd "$THIS_SCRIPT_PATH"`
* Remove unnecessary `cd` from all build.sh
* Remove unnecessary `set -eu` from all build.sh (and `# set -x`)
* Replace old build-utils.sh incantation in a few build.sh scripts