aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/lib/path.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/path.sh')
-rw-r--r--scripts/lib/path.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/lib/path.sh b/scripts/lib/path.sh
new file mode 100644
index 0000000..379c9fa
--- /dev/null
+++ b/scripts/lib/path.sh
@@ -0,0 +1,5 @@
+# shellcheck shell=bash
+[[ -n "${BOLT_PATH_LOADED:-}" ]] && return
+readonly BOLT_PATH_LOADED=1
+
+readonly PATH_PROJECT_DIR="$(dirname "${BASH_SOURCE[0]}")/../.."