aboutsummaryrefslogtreecommitdiffstats
path: root/shlib
diff options
context:
space:
mode:
Diffstat (limited to 'shlib')
-rw-r--r--shlib/bootstrap.sh1
-rw-r--r--shlib/log.sh2
2 files changed, 2 insertions, 1 deletions
diff --git a/shlib/bootstrap.sh b/shlib/bootstrap.sh
index 9e49f24..f55822a 100644
--- a/shlib/bootstrap.sh
+++ b/shlib/bootstrap.sh
@@ -27,6 +27,7 @@ bootstrap_macos() {
bootstrap_openbsd() {
log_info "Installing OpenBSD packages..."
_openbsd_packages="$(cat "$(dirname "$0")/openbsd/packages.txt" | tr '\n' ' ')"
+ # shellcheck disable=SC2086
doas pkg_add $_openbsd_packages
chsh -s /usr/local/bin/zsh "$USER"
}
diff --git a/shlib/log.sh b/shlib/log.sh
index f4e46ff..f2f8864 100644
--- a/shlib/log.sh
+++ b/shlib/log.sh
@@ -19,7 +19,7 @@ log_success() {
}
log_debug() {
- [ "${DEBUG:-}" == "true" ] && echo "[DEBUG] $*" >&2
+ [ "${DEBUG:-}" = "true" ] && echo "[DEBUG] $*" >&2
}
log_newline() {