aboutsummaryrefslogtreecommitdiff
path: root/straper/lib/common.sh
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukasz.kasprzak@pm.me>2026-03-20 19:16:32 +0100
committerLukasz Kasprzak <lukasz.kasprzak@pm.me>2026-03-20 19:16:32 +0100
commit39711cf6c2ec5a3b4480dcb4800cc3802bda5bf2 (patch)
tree9221704f413398cfb5d5759083b1e7032566820e /straper/lib/common.sh
parent6b59b75c3a294060dea66bdee16ffaf95ae92889 (diff)
downloadbin-39711cf6c2ec5a3b4480dcb4800cc3802bda5bf2.tar.gz
bin-39711cf6c2ec5a3b4480dcb4800cc3802bda5bf2.zip
feat: first fully successful run e2e on straper
Diffstat (limited to 'straper/lib/common.sh')
-rwxr-xr-xstraper/lib/common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/straper/lib/common.sh b/straper/lib/common.sh
index 32f3581..dce03d8 100755
--- a/straper/lib/common.sh
+++ b/straper/lib/common.sh
@@ -8,7 +8,7 @@ TOOLKIT_DIR="$(cd -- "${COMMON_DIR}/.." && pwd)"
TOOLKIT_NAME="labunix-rebuild"
TOOLKIT_VERSION="0.1.1"
-: "${DB_DIR:=/srv/sanctum-rebuild}"
+: "${DB_DIR:=${SCRIPT_DIR:-/srv/sanctum-rebuild}}"
: "${PUBLIC_DIR:=${DB_DIR}/db/public}"
: "${SECRET_DIR:=${DB_DIR}/db/secret}"
: "${ROLE:=lab}" # lab | hardware | replacement