mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-07 09:25:33 +00:00
Fixes up scripts (except under /linux) to use `#!/usr/bin/env bash` instead of `#!/bin/bash` or `#!/bin/sh` so that we don't end up with the ancient version of bash supplied with macOS. This became urgent with this PR, because of bash-4.xisms in build-utils.sh, for example on line 572: ``` if [[ -v _builder_params[$e] ]]; then ```
13 lines
244 B
Bash
Executable file
13 lines
244 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
# set -x
|
|
# set -u <-- difficult to test if variable is set this way...
|
|
|
|
./kmbuild.sh $*
|
|
|
|
if [ ! -z "$RELEASE_OEM" ]; then
|
|
pushd ../oem/firstvoices/ios > /dev/null
|
|
./build.sh -lib-nobuild $*
|
|
popd > /dev/null
|
|
fi
|