spiegel-keyman/resources/gosh/gosh.sh
Marc Durdin 767927bf16 chore(common): use /usr/bin/env bash
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
```
2022-07-25 14:59:37 +10:00

7 lines
258 B
Bash
Executable file

#!/usr/bin/env bash
# This script goes with gosh.bat and gosh.js. It may be helpful for launching
# a platform independent script "gosh foo.sh ..." where "gosh" will be interpreted
# as gosh.bat on Windows and this script on other platforms.
"$1" "${@:2}"