mirror of
https://github.com/plausible/analytics.git
synced 2024-12-24 10:02:10 +03:00
2d413129a7
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`.
7 lines
120 B
Bash
Executable File
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
|