aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/provision6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/provision b/bin/provision
index f438a5e..f34bbbf 100755
--- a/bin/provision
+++ b/bin/provision
@@ -5,6 +5,12 @@
# Parameters
DIRNAME="`dirname $0`"
+BASEDIR="$DIRNAME/.."
+
+# Load optional customizations
+[ -f "$BASEDIR/.env" ] && source $BASEDIR/.env
+
+# Bookdown packaging approach
BOOKDOWN_PACKAGING="${BOOKDOWN_PACKAGING:-DEB}"
# Dependencies