820f9f2977
Improves shell script quoting, and adds set -u set -o pipefail
23 lines
439 B
Bash
Executable File
23 lines
439 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -eu
|
|
set -o pipefail
|
|
|
|
# Install kayobe and its dependencies in a virtual environment.
|
|
|
|
PARENT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
|
|
source "${PARENT}/functions"
|
|
|
|
|
|
function main {
|
|
# Don't require kayobe configuration to exist for installation - it is not
|
|
# required for the legacy manual deployment procedure.
|
|
KAYOBE_CONFIG_REQUIRED=0
|
|
config_init
|
|
install_dependencies
|
|
install_venv
|
|
}
|
|
|
|
main
|