analytics/rel/overlays/init-admin.sh
Niklas Hambüchen 2d413129a7
Fix shell scripts. (#1179)
There were various mistakes in the shell scripts, such as lack of
quoting; they would break them immediately e.g. if `BIN_DIR` contained a space.

Pointed out by `shellcheck`.
2021-07-20 09:43:27 +03:00

7 lines
120 B
Bash
Executable File

#!/bin/sh
# Create an admin user
BIN_DIR=$(dirname "$0")
"${BIN_DIR}"/bin/plausible eval Plausible.Release.init_admin